17 Commits

Author SHA1 Message Date
Dmitry Gozman c9f869f06a feat(codegen): add xUnit target for .NET C# (#40561) 2026-05-01 16:23:18 +01:00
Max Schmitt 14d2c4a2bb chore: adopt more modern new() csharp syntax in codegen (#37391) 2025-09-11 16:51:05 +02:00
Dmitry Gozman 70946bf13d test: fix codegen test with proxy (#37006) 2025-08-13 13:02:59 +01:00
Dmitry Gozman 2c9197406c test: switch from codegen cli output to using a file (#36974) 2025-08-12 13:50:31 +01:00
Max Schmitt ffa4618d2f test: use http endpoint instead of local file for codegen tests (#36498) 2025-06-30 17:37:10 +02:00
Rui Figueira c2d057ba23 chore: add url option to routeFromHAR call if codegen launched with --save-har-glob (#34048) 2024-12-18 13:34:06 -08:00
Max Schmitt 0aa8da8035 test: fix csharp har tests on Windows (#33556) 2024-11-12 14:42:07 +01:00
Yury Semikhatsky e691ca7fbf fix(codegen): generate routeFromHAR for --save-har option (#33480) 2024-11-11 11:59:20 -08:00
Max Schmitt 39bdbbf029 test: codegen #28663 follow-up (#28673) 2023-12-15 12:05:13 -08:00
Max Schmitt 44c3ad5ceb chore: make csharp library codegen more csharp like (#28663) 2023-12-15 10:24:26 -08:00
Andrey Lushnikov 8bb708be70 test: unflake inspector-cli tests (#22347)
This patch:
- changes the `childProcess` fixture to reliably SIGKILL all descendants
  (children and grand-children, regardless of their process group).
This is achieved using the `ps` command to build the process tree, and
then send
  `SIGKILL` to the descendant process groups.
- changes the `runCLI` fixture to **not** auto-close codegen by default;
  the `childProcess` fixture will clean up all processes. This makes
sure that all `runCLI.waitFor()` commands actually wait until the
necessary
  output.
- for a handful of tests that do actually want to auto-close codegen,
  introduce an optional `autoCloseWhen` flag for the `runCLI` fixture
that makes sure to close the codegen once a certain output was reached.
2023-04-12 09:37:24 -07:00
Pavel Feldman 5754fb9c6d chore: do not emit comments from codegen (#17747) 2022-09-30 12:36:54 -07:00
Max Schmitt 59c32bf2c6 Revert "chore(generator): use new .NET test attributes (#17172)" (#17344)
This reverts commit 15add13a6a.
2022-09-14 22:44:38 +02:00
Max Schmitt 15add13a6a chore(generator): use new .NET test attributes (#17172) 2022-09-08 01:44:58 +02:00
Max Schmitt 74ab343e2b feat(codegen): add NUnit/MSTest (#16803) 2022-08-25 11:58:58 +02:00
Dmitry Gozman d60b8aba23 fix(codegen): handle more context options (#15319)
The following options now work across languages:
- `recordHar`
- `serviceWorkers`

In addition, object properties are now sorted alphabetically.
Drive-by: fixed `--target` help message to include all available targets.
2022-07-05 13:30:46 -07:00
Pavel Feldman 02cac8a066 chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00