Skip to content

Fix test-case name validation regex. - #241

Merged
craigfe merged 4 commits into
mirage:masterfrom
mefyl:master
May 3, 2020
Merged

craigfe merged 4 commits into
mirage:masterfrom
mefyl:master

Conversation

@mefyl

@mefyl mefyl commented May 3, 2020

Copy link
Copy Markdown
Contributor

Fix #240.

@craigfe

craigfe commented May 3, 2020

Copy link
Copy Markdown
Member

Neat. It took me a while to see what the diff was doing 😁

Thanks for the fix and the (belated) test. Have added a CHANGES entry.

@craigfe
craigfe merged commit 7f58eee into mirage:master May 3, 2020
craigfe added a commit to craigfe/opam-repository that referenced this pull request Jul 13, 2020
…age (1.2.0)

CHANGES:

- Add an `alcotest-mirage` package, allowing the construction of MirageOS
  unikernels that run Alcotest test suites. (mirage/alcotest#238, @hannesm @linse)

- Add `Alcotest.check'`, a variant of `Alcotest.check` with labeled arguments.
  (mirage/alcotest#239, @hartmut27)

- Add a testable for the `bytes` type. (mirage/alcotest#253, @mefyl)

- Many assorted improvements to Alcotest output formatting. (mirage/alcotest#246, @craigfe)

- Default to `--color=always` when running inside Dune (mirage/alcotest#242, @craigfe). The
  value can be overridden by setting the `ALCOTEST_COLOR` variable in a `dune`
  file, for example:

```dune
(env
 (_
  (env-vars
   (ALCOTEST_COLOR auto))))
```

- Support all UTF-8 characters in test names and suite names, by normalising
  them for file-system interactions. (mirage/alcotest#249, @gs0510; mirage/alcotest#246, @craigfe)

- Fix various crashes when using non-filesystem-safe characters in test suite
  names (these break Alcotest when attempting to generate a corresponding log
  file). (mirage/alcotest#241, @mefyl; mirage/alcotest#246 @craigfe)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test suite fails if there is a path separator in user-supplied strings.

2 participants