Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

Build failure on clone (from tests) #115

Closed
kzu opened this issue Nov 6, 2012 · 1 comment
Closed

Build failure on clone (from tests) #115

kzu opened this issue Nov 6, 2012 · 1 comment

Comments

@kzu
Copy link

kzu commented Nov 6, 2012

Repro:
Git Clone
run build.cmd

Output:
Microsoft (R) Build Engine version 4.0.30319.17929
[Microsoft .NET Framework, version 4.0.30319.18010]
Copyright (C) Microsoft Corporation. All rights reserved.

=========== Compile ===========
All packages listed in packages.config are already installed.
All packages listed in packages.config are already installed.
All packages listed in packages.config are already installed.
Pretzel.Logic -> D:\Code\oss\pretzel\src\Pretzel.Logic\bin\Debug\Pretzel.Logic.dll
Pretzel -> D:\Code\oss\pretzel\src\Pretzel\bin\Debug\Pretzel.exe
Pretzel.Tests -> D:\Code\oss\pretzel\src\Pretzel.Tests\bin\Debug\Pretzel.Tests.dll
=========== Compile Done ===========
Pretzel.exe is available at D:\Code\oss\pretzel\artifacts
=========== Run Tests ===========
xUnit.net MSBuild runner (32-bit .NET 4.0.30319.18010)
xunit.dll: Version 1.9.0.1566
Test assembly: D:\Code\oss\pretzel\src\Pretzel.Tests\bin\Debug\Pretzel.Tests.dll
D:\Code\oss\pretzel\build.proj(39,5): error : Pretzel.Tests.Templating.Jekyll.LiquidEngineTests+When_Paginate_With_No_Posts.Index_Is_Generated: System.NullReferenceException : Object reference not set to an instance of an object.
D:\Code\oss\pretzel\build.proj(39,5): error : at System.IO.Abstractions.TestingHelpers.MockFile.ReadAllText(String path)
D:\Code\oss\pretzel\build.proj(39,5): error : at Pretzel.Tests.Templating.Jekyll.LiquidEngineTests.When_Paginate_With_No_Posts.Index_Is_Generated() in d:\Code\oss\pretzel\src\Pretzel.Tests\Templating\Jekyll\LiquidEngineTests.cs:line 211
D:\Code\oss\pretzel\build.proj(39,5): error : Pretzel.Tests.Templating.Jekyll.LiquidEngineTests+Givet_Page_Use_Filter.The_Output_Should_Be_Slugified: System.NullReferenceException : Object reference not set to an instance of an object.
D:\Code\oss\pretzel\build.proj(39,5): error : at System.IO.Abstractions.TestingHelpers.MockFile.ReadAllText(String path)
D:\Code\oss\pretzel\build.proj(39,5): error : at Pretzel.Tests.Templating.Jekyll.LiquidEngineTests.Givet_Page_Use_Filter.The_Output_Should_Be_Slugified() in d:\Code\oss\pretzel\src\Pretzel.Tests\Templating\Jekyll\LiquidEngineTests.cs:line 481
D:\Code\oss\pretzel\build.proj(39,5): error : Pretzel.Tests.Templating.Razor.When_Paginate_Razor.Posts_Properly_Paginated: System.NullReferenceException : Object reference not set to an instance of an object.
D:\Code\oss\pretzel\build.proj(39,5): error : at System.IO.Abstractions.TestingHelpers.MockFile.ReadAllText(String path)
D:\Code\oss\pretzel\build.proj(39,5): error : at Pretzel.Tests.Templating.Razor.When_Paginate_Razor.Posts_Properly_Paginated() in d:\Code\oss\pretzel\src\Pretzel.Tests\Templating\Razor\RazorEngineTests.cs:line 156
Tests: 105, Failures: 3, Skipped: 0, Time: 6.946 seconds
Press any key to continue . . .

Granted, the .exe output is produced nonetheless, but it sure is confusing and suboptimal first experience.

@shiftkey
Copy link
Member

Fixed here: 3908aac

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants