10231
results for "test"
-
there isn’t really any non-working test code worth commenting on, but I can leave a comment about it in the test I wrote which partially tests default option functionality
barnaby
at
2022-11-06 00:28
-
maybe leave the non-working test code commented out with a note?
aaronpk
at
2022-11-06 00:28
-
aaronpk: I think I’m stuck with this test without making major structural changes, unfortunately. best I can do right now is test it manually
barnaby
at
2022-11-06 00:25
-
ok thx i'm about ready to test this again
aaronpk
at
2022-11-06 00:20
-
This is the test import from https://wpdev.gwg.us/2022/03/15/27343/
GWG
at
2022-11-06 00:17
-
I’ll see if I can make the alternative test which in theory guarantees the same behaviour but doesn’t rely on the twitter library
barnaby
at
2022-11-06 00:12
-
aaronpk: yeah I’ve been poking around with them and was trying to adapt the existing twitter fixtures for what I need to test, but I don’t think it’s possible even with the test harness HTTP client
barnaby
at
2022-11-06 00:12
-
I can probably use the existing mocks to write a test which covers the same behaviour without specifcially hitting twitter
barnaby
at
2022-11-06 00:11
-
aaronpk: XRay doesn’t have a way of mocking responses to twitter API requests made from p3k\XRay->parse(), right? because that’s what I’d need to write a test for this very specific case
barnaby
at
2022-11-06 00:11
-
no worries, my bad for testing that the defaults work for one specific option it was easy to write a test for, and not the more complicated option I actually want to set defaults for
barnaby
at
2022-11-06 00:02
Sort by:
Filter results by:
Tag
Query took 0.01s.
Search tips
- Exclusion
- +foo -bar
- Logical OR
- foo OR bar
- Exact phrase
- "foo bar"
- Partial words
- foo*
- Particular fields only
- title:foo
- domain:example.org
- nick:somebody
- after:2016-11-23
- before:2016-11-23
- date:2016-11-23