Ian Bull
73987a1772
refactor(testing): align additional error messages ( #5810 )
2024-08-26 14:22:16 +09:00
Yoshiya Hinosawa
faa633bd12
fix(testing): throw error when async func is passed to describe ( #5385 )
2024-07-11 15:28:27 +09:00
Yoshiya Hinosawa
6eeddb32d7
fix(testing): cause type error for async function as describe body ( #5355 )
2024-07-09 12:13:07 +09:00
Yoshiya Hinosawa
df8cebcd74
test(testing): improve bdd testing ( #5136 )
2024-06-25 19:26:12 +09:00
Yoshiya Hinosawa
635e062330
docs(testing): improve the docs of @std/testing
( #5033 )
...
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-06-17 11:31:31 +09:00
Yoshiya Hinosawa
3155f0050a
chore: switch to JSR-oriented codebase ( #4650 )
2024-04-29 11:57:30 +09:00
Asher Gomez
44660eaf1f
test(testing): cleanup bdd tests ( #4565 )
2024-04-10 20:56:00 +09:00
David Sherret
ef6b95f0c7
refactor: make the code work under verbatimModuleSyntax
( #4406 )
...
* Start
* Update
* Format
* Revert deno.json change
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-02-27 21:57:25 +00:00
Kyle June
c6ed026ec4
feat(testing): explicit resource management for spy()
and stub()
( #4306 )
...
* feat(testing): Explicit resource management for `spy()` and `stub()`
* Undo explicitly making FakeTime Disposable
* Update test cases to use explicit resource management
---------
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-02-16 15:26:33 +11:00
Simon Holloway
0858ff8287
refactor(testing): prepare for noUncheckedIndexedAccess
( #4084 )
...
* refactor(testing): prepare for noUncheckedIndexedAccess
* tweaks
* fix(testing): returnsArg throws when no arg at index
* refactor(testing): sessions to use .at(-1) to get last item
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
* non-null after check
* swap non-null assertions for as const
* proper error message
* more as const in the mock_test file
* fix tests for new behaviour
* tweak
* revert returnsArg handling back to `| undefined`
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-05 09:26:55 +11:00
Lino Le Van
c46143f0ac
chore: update copyright year ( #4046 )
...
* chore: update copyright year
* fix
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-02 08:11:32 +11:00
Yoshiya Hinosawa
c54ab5f956
test(testing): use assert/mod.ts instead of testing/asserts.ts ( #3652 )
2023-09-20 13:57:44 +09:00
Marvin Hagemeister
c224ce4753
feat(testing): add .skip alias to bdd test API ( #3300 )
2023-04-13 12:30:04 +09:00
denobot
1756b160fa
0.174.0 ( #3135 )
...
Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-01-25 23:25:19 +01:00
ayame113
b4239898d6
chore: update copyright header ( #3082 )
2023-01-03 19:47:44 +09:00
Asher Gomez
3b9fb39ddd
chore: remove void
and Promise<void>
return types ( #2550 )
2022-08-24 10:21:57 +09:00
Kyle June
500ec9de4b
fix(testing/bdd): fix flat test grouping context ( #2308 )
2022-06-20 09:12:15 +09:00
Kyle June
85950b9219
feat(testing): add TestContext argument to "it" function ( #2117 )
2022-04-17 01:23:49 +02:00
Kyle June
5f764b9499
feat(testing): add behavior-driven development ( #2067 )
2022-04-08 14:01:46 +09:00