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

Progress towards fixing unit tests #199

Merged
merged 4 commits into from
Apr 1, 2014

Conversation

rwest
Copy link
Member

@rwest rwest commented Apr 1, 2014

These commits are pre-requisites to the travis continuous-integration thing (separate pull request #194).
There are some fixes to the makefile, instructions, and default database location.
Also, a work_in_progress decorator, that we should use to annotate any Unit Tests that we currently expect to fail.
I did a couple. You just add @work_in_progress to the line before the unit test definition.

If someone could do that for all the currently failing tests, as a half-way house to actually making them work, we will at least be able to detect changes and extra errors.

rwest added 4 commits April 1, 2014 17:01
…tions.

Hopefully Josh will alert us to any improvements he makes, now that he has left.
I also switched to https instead of git, so that you don't need a github account
and login etc.

I also tweak the linux installation instructions.
Just formatting, really.
It turns out that this bit of code was correct, but hopefully now it's clearer.

It's still pretty confusing where this is set, and in what priority.
(eg. the .rmgrc config file). I'm not sure why the prior one seems to work in other places
This is a proof (test) of concept. If it works, then we should add this
decorator to all the unit tests that we currently EXPECT to fail.
That way, the Travis-CI build test will pass - the failing tests will
just be skipped if they fail (still with an error message).

We shouldn't forget to go and fix the tests though!
connie added a commit that referenced this pull request Apr 1, 2014
Progress towards fixing unit tests.  

There are some fixes to the makefile, instructions, and default database location.
Also, a work_in_progress decorator, that we should use to annotate any Unit Tests that we currently expect to fail. You just add @work_in_progress to the line before the unit test definition. 
If someone could do that for all the currently failing tests, as a half-way house to actually making them work, we will at least be able to detect changes and extra errors.
@connie connie merged commit 534d1f4 into ReactionMechanismGenerator:master Apr 1, 2014
@wking
Copy link
Contributor

wking commented Apr 1, 2014

On Tue, Apr 01, 2014 at 02:05:34PM -0700, Richard West wrote:

These commits are pre-requisites to the travis
continuous-integration thing (separate pull request #194).

+1 to pulling these out into a separate PR :).

Everything in here looks good to my outsider's eyes.

@rwest rwest deleted the fixtests branch April 1, 2014 21:38
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.

3 participants