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

Problem: rkt-tests: Fails because cantor and guiv2 require gui #364

Merged
merged 1 commit into from
Apr 4, 2019

Conversation

clacke
Copy link
Member

@clacke clacke commented Apr 4, 2019

This breaks the test runner.

Instead of adding them to the exclusion list, accept that only 10 of
our rkt files contain tests.

Solution: Test only files that declare a test submodule.

As a bonus, this drastically cuts down testing time. Racket takes a
very long time (20 s -- 30 s) just to load a file, only to find out
there are no tests. This is now done on 10 files instead of 172 files.

Grepping for 'module test' is not a generic way of finding tests, but
it works on our code.

This breaks the test runner.

Instead of adding them to the exclusion list, accept that only 10 of
our rkt files contain tests.

Solution: Test only files that declare a test submodule.

As a bonus, this drastically cuts down testing time. Racket takes a
very long time (20 s -- 30 s) just to load a file, only to find out
there are no tests. This is now done on 10 files instead of 172 files.

Grepping for 'module  test' is not a generic way of finding tests, but
it works on our code.
@sjmackenzie sjmackenzie merged commit edfc7c3 into fractalide:master Apr 4, 2019
@clacke clacke deleted the narrow-rkt-tests branch April 5, 2019 03:27
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.

2 participants