Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: run acceptance tests from travis.yml
- Loading branch information
Showing
1 changed file
with
3 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b29f65b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great @adamralph. The others fails probably because Moq wasn't build for mono.
b29f65b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fraga does Moq have known problems on Mono?
b29f65b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@adamralph see #756 and devlooped/moq#113. It's more a problem with Castle.Core than Moq.
b29f65b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ztone @adamralph yeah you're right. It's more of a Core problem. However, moq needs to reference the right lib too. I tried to go around and fix Core to compile on mono 3.4 https://github.com/fraga/Core/commits/fixMonoBuild , then referenced that build on Moq, compiled Moq under mono and I had more errors. Needs more work.
For the moment I think including the acceptance tests was the best approach.
b29f65b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@adamralph @fraga I fixed the unit tests in ScriptCs.Core.Test (#734) to work on Mono (this lib isn't using Moq). That could be added to Travis so it won't regress.
b29f65b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thought I would ask you @ztone and @adamralph before creating a PR - what do you think about creating a xUnit xml project fraga@dd10e92
Added ScriptCs.Core.Test
We can also discuss this maybe in an issue :)
b29f65b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the preferred approach is globbing for test projects. @jrusbatch can comment on that. However, at some point, we probably want to be able to run unit tests and acceptance tests seperately from the CLI so we may well want to move them to separate folders.