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

[WIP] [do not review] single-module tester #9580

Closed

Conversation

timotheecour
Copy link
Member

No description provided.

@krux02
Copy link
Contributor

krux02 commented Nov 7, 2018

I have a suggestion, use when defined(testing),then you can run the tests with nim c -r -d:testing test_all.nim

@timotheecour
Copy link
Member Author

I have a suggestion, use when defined(testing),then you can run the tests with nim c -r -d:testing test_all.nim

ya, that was my intention but slightly different, see #9581 (comment)

replace when isMainModule blocks by when isMainModule or defined(testing) for all files we want to test in testament

@Araq
Copy link
Member

Araq commented Dec 12, 2018

This is now covered by the "megatest" category in testament.

@Araq Araq closed this Dec 12, 2018
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.

None yet

3 participants