Giter Site home page Giter Site logo

cvpoienaru / test-templates Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dotnet/test-templates

0.0 0.0 0.0 27.84 MB

License: MIT License

PowerShell 17.00% Shell 11.30% C# 6.90% F# 0.39% Batchfile 0.07% CMake 1.05% Rich Text Format 62.71% Visual Basic .NET 0.58%

test-templates's Introduction

Overview

This repository is the home for the .NET Core Test Templates. It also contains Classic .Net Framework and Universal Test templates for C# and VB.

Creating new projects

You can create new projects with dotnet new, this section will briefly describe that. For more info take a look at Announcing .NET Core Tools Updates in VS 2017 RC.

Let's create a new test project named "NewMSTestProject" in the "src/MyTest" directory.

$ dotnet new mstest -n NewMSTestProject 
The template "Unit Test Project" was created successfully.

The project was successfully created on disk as expected in src/MyTest. From here, we can run normal dotnet commands like dotnet restore and dotnet build.

We have a pretty good help system built in, including template specific help (for example dotnet new mstest --help). If you're not sure the syntax please try that, if you have any difficulties please file a new issue.

How to build, run & debug the latest

If you're authoring templates, or interested in contributing to this repo, then you're likely interested in how to use the latest version of this experience. The steps required are outlined below.

Aquire

  • Fork this repository.
  • Clone the forked repository to your local machine.
    • master is a build branch and does not accept contributions directly.
    • The default branch is the active development branch that accepts contributions and flows to master to produce packages.

Build & Run

  • Open up a command prompt and navigation to the root of your source code.
  • Run the build script appropriate your environment.
  • When running the build script creates the nuget packages for net core test templates and vsix for classic test templates.
  • The build produces the template NuGet packages currently has a dependency on nuget.exe.
  • Because of this, those that wish to install using the template NuGet packages will need to be on Windows in order to produce the appropriate assets.

Test

  • Users can test the dotnet core templates that reside in the templates_feed folder by running the test script test.cmd
  • Note: Please make sure you have run the build script before you run the test script.

test-templates's People

Contributors

abhitejjohn avatar bradwilson avatar cartermp avatar cosifne avatar cvpoienaru avatar dotnet-maestro[bot] avatar halex2005 avatar jayaranigarg avatar johntortugo avatar kevinransom avatar marcorossignoli avatar mattgal avatar mayankbansal018 avatar mlorbetske avatar mmitche avatar nohwnd avatar riarenas avatar singhsarab avatar smadala avatar terrajobst avatar tmat avatar vagisha-nidhi avatar viktorhofer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.