10434
results for "test"
-
or... write a test that does what you just wrote in english?
aaronpk
at
2022-11-06 00:30
-
best method I could think of to test it is writing another mock HTTP client which allows you to pass a callable to run tests on the response it ends up sending, but I don’t particularly feel like doing that right now 😅
barnaby
at
2022-11-06 00:30
-
the specific hard-to-test thing is whether or not default options stored on the main XRay object get passed to the Fetcher object internally
barnaby
at
2022-11-06 00:29
-
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
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