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

Expecto helper #1435

Merged
merged 4 commits into from
Dec 17, 2016
Merged

Expecto helper #1435

merged 4 commits into from
Dec 17, 2016

Conversation

vilinski
Copy link
Contributor

@vilinski vilinski commented Dec 13, 2016

Hi, this is a helper proposal for running unit tests with expecto. No extra dependencies to FAKE, the tests are run as executables. Please look at what could be improved

@vilinski vilinski mentioned this pull request Dec 13, 2016
@@ -0,0 +1,91 @@
[<AutoOpen>]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove autoopen - we don't use that for new helpers anymore

|> appendList this.Run "--run "
|> toText

static member defaultParams =
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use DefaultParams

let Expecto (setParams : ExpectoParams -> ExpectoParams) (assemblies : string seq) =
let args = setParams ExpectoParams.defaultParams
let argsString = string args
let runAssembly testAssembly =
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@forki
Copy link
Member

forki commented Dec 17, 2016

awesome!

@forki forki merged commit 3a10a13 into fsprojects:master Dec 17, 2016
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