10336
results for "test"
-
i think there are some tests that do hit the network, but they are all in one test file IIRC?
aaronpk
at
2022-11-06 00:35
-
I prefer to have test suites which work identically whether or not I’m connected to the internet, but this could be a reasonable exception for the moment
barnaby
at
2022-11-06 00:32
-
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
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