Coder Social home page Coder Social logo

cse112-neon's Introduction

CSE112-Neon

Actions Status Actions Status Actions Status

Maintainability Test Coverage

Installing

npm install

Running

npm run start

Lint

Runs ESlint

npm run lint

Pushing

Before pushing run this command to ensure that you will not fail due to silly mistakes. This will run both unit testing and the linter. (This will be enforced and automated by Husky soon).

npm run prepush

Testing

Unit Testing This is done using Mocha+Chai Runs all tests in folder test/unit_testing

npm run test:unit

Integration Testing This is done using Mocha+Spectron Runs all tests in folder test/integration_testing

npm run test:int

Coverage

Currently we are only checking the coverage of unit testing. to run the tests. This will check all js files in folders not excluded in package.json under "nyc".

Nothing is currently being enforced off of these results.

npm run test:unit_cov
npm run test:unit_cov_html

unit_cov will show you the resutls in terminal unit_cov_html will create a folder called coverage in root with a html file listing out the coverages

Building

To create your own local exe. This will be located in a created folder dist which will reside in the root dir.

npm run manual:build

Release

This is done through Gitub Actions.

1. Make sure you are working in the release branch.
2. Merge master into release.
3. Update the version in your project's package.json file (e.g. 1.2.3).
4. Commit that change (git commit -am v1.2.3).
5. Tag your commit (git tag v1.2.3). Make sure your tag name's format is
   v*.*.*. Your workflow will use this tag to detect when to create a release.
6. Push your changes to GitHub (git push && git push --tags).
7. Create a pull request to merge changes into master.
8. Go to the release tab in GHithub. There will now be a Draft of the taged commit
  click edit, make any changes you wish and publish the draft to release to the
  public.

After the build check under the release tab in Github.

cse112-neon's People

Contributors

thecowkingmoo avatar mcharming98 avatar alanmc979 avatar dmho18 avatar marcusarioli avatar swp930 avatar jig099 avatar joh-dev avatar juo017 avatar justin-sd 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.