Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add module level options #19

Closed
martijnbastiaan opened this issue Dec 30, 2021 · 0 comments · Fixed by #25
Closed

Add module level options #19

martijnbastiaan opened this issue Dec 30, 2021 · 0 comments · Fixed by #25
Labels
enhancement New feature or request

Comments

@martijnbastiaan
Copy link
Owner

Now that we're adding more features to this project, it would be nice if we could selectively enabled or disable features on a module basis. For example, by default we might want to run tests in a random order, but for a specific module we know this is not supported.

I'd propose something like:

{-# ANN module "doctest-parallel: no randomize order" #-}
@martijnbastiaan martijnbastiaan added the enhancement New feature or request label Dec 30, 2021
martijnbastiaan added a commit that referenced this issue Jan 5, 2022
Command-line options can now be overriden on a per-module basis by
using a module annotation:

    {-# ANN module "doctest-parallel: --no-randomize-order" #-}

Closes #19
martijnbastiaan added a commit that referenced this issue Jan 5, 2022
Command-line options can now be overridden on a per-module basis by
using a module annotation:

    {-# ANN module "doctest-parallel: --no-randomize-order" #-}

Closes #19
martijnbastiaan added a commit that referenced this issue Jan 5, 2022
Command-line options can now be overridden on a per-module basis by
using a module annotation:

    {-# ANN module "doctest-parallel: --no-randomize-order" #-}

Closes #19
martijnbastiaan added a commit that referenced this issue Jan 5, 2022
Command-line options can now be overridden on a per-module basis by
using a module annotation:

    {-# ANN module "doctest-parallel: --no-randomize-order" #-}

Closes #19
martijnbastiaan added a commit that referenced this issue Jan 5, 2022
Command-line options can now be overridden on a per-module basis by
using a module annotation:

    {-# ANN module "doctest-parallel: --no-randomize-order" #-}

Closes #19
martijnbastiaan added a commit that referenced this issue Jan 5, 2022
Command-line options can now be overridden on a per-module basis by
using a module annotation:

    {-# ANN module "doctest-parallel: --no-randomize-order" #-}

Closes #19
martijnbastiaan added a commit that referenced this issue Jan 5, 2022
Command-line options can now be overridden on a per-module basis by
using a module annotation:

    {-# ANN module "doctest-parallel: --no-randomize-order" #-}

Closes #19
martijnbastiaan added a commit that referenced this issue Jan 5, 2022
Command-line options can now be overridden on a per-module basis by
using a module annotation:

    {-# ANN module "doctest-parallel: --no-randomize-order" #-}

Closes #19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant