From 1c7950b20af02e5a74ae6d3c6cd8ad3e4af627d7 Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Fri, 2 Feb 2018 14:48:17 -0800 Subject: [PATCH] Add build and test instructions --- README.md | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ddbdc7cf06..8621552c21 100644 --- a/README.md +++ b/README.md @@ -22,9 +22,34 @@ Blazor will have all the features of a modern web framework, including: > Note: Blazor is an *experimental* project. It's not (yet) a committed product. This is to allow time to fully investigate the technical issues associated with running .NET in the browser and to ensure we can build something that developers love and can be productive with. During this experimental phase, we expect to engage deeply with early Blazor adopters like you to hear your feedback and suggestions. +To see Blazor in action, check out [Steve Sanderson's prototype demo at NDC Oslo](https://www.youtube.com/watch?v=MiLAE6HMr10&feature=youtu.be&t=31m45s) last year. You can also try out a [simple Blazor app running in Azure](https://blazor-demo.azurewebsites.net/). + ## Getting Started -We are still *very early* in this project. There isn’t yet anything you can download nor any project template you can use. Most of the planned features aren’t implemented yet. Even the parts that are already implemented aren’t yet optimized for minimal payload size. If you’re keen, you can clone the repo, build it, and run the tests. +We are still *very early* in this project. There isn't yet anything you can download nor any project template you can use. Most of the planned features aren't implemented yet. Even the parts that are already implemented aren't yet optimized for minimal payload size. If you're keen, you can clone the repo, build it, and run the samples and tests. + +## Build + +Prerequisites: +- [.NET Core SDK](https://dot.net/core) (>2.1.4) +- [Node.js](https://nodejs.org/) (>8.3) + +Run `dotnet build` from the solution directory. + +## Run tests + +Run `dotnet test test/.Test.csproj` + +## Run end-to-end tests + +Prerequisites: +- Install [selenium-standalone](https://www.npmjs.com/package/selenium-standalone) (requires Java 8 or later) + - `npm install -g selenium-standalone` + - `selenium-standalone install` +- Chrome + +Run `selenium-standalone start` +Run `dotnet test test/.E2ETest.csproj` ## Contributing