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

Cleaning up tests #5

Open
daniel-v opened this issue Feb 23, 2017 · 2 comments
Open

Cleaning up tests #5

daniel-v opened this issue Feb 23, 2017 · 2 comments

Comments

@daniel-v
Copy link

I am curious what your thoughts are on this. My question is two-fold:

  1. Looking at what's checked into the repo, I am wondering what the purpose of example-tests is.
  2. If it would worth the effort to write some kind of automated tests (would put my mind at ease)
@rspilker
Copy link
Contributor

The example-tests are tests to generate output that can then be processed by junitreport.

I do agree it is a good idea to create unit tests, just haven't spent time on it. Before investing, I wanted to know if this was a useful tool for others as well.

@rspilker
Copy link
Contributor

I've created a regression test script. It compares the current implementation against a known good file.

The test is located in tools and called test.bat. It is a polyglot file that runs fine in Linux/Mac/Windows provided that dart and diff are available.

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

No branches or pull requests

2 participants