OmniSharp / omnisharp-atom

Omnisharp support for the atom editor
https://atom.io/packages/omnisharp-atom
MIT License
318 stars 61 forks source link

Running tests error: /bin/sh: 1: null: not found #544

Open Zeioth opened 9 years ago

Zeioth commented 9 years ago

Hi, I have a tests.cs file and when I try to run it using ctrl+shift+p "Run all tests" I get this error. There's any know cause for this? I'm running Atom 1.0.19 in Xubuntu. Run a single tests has the same output.

tests5

willl commented 9 years ago

Noticed your test are NUnit based?

I'm not sure whether or not NUnit currently supports ASP.NET 5/DNX. So you might need to use xUnit instead for the time being.

We currently only support running unit tests for ASP.NET 5/DNX projects. Have a look at http://blogs.msdn.com/b/webdev/archive/2015/08/06/unit-testing-with-dnx-asp-net-5-projects.aspx as well as the ASP.NET 5 testing repo: https://github.com/aspnet/Testing

We actually have a command runner which runs various dnx commands.

Edit: Also noticed that in the bar down the bottom it says "0 Projects".

david-driscoll commented 9 years ago

Right now I think our test scanner only understands Xunit (this is an omnisharp-roslyn thing, not specifically atom)