Skip to content

A scalable HTML, CSS and JavaScript application using dojo and intern tests.

License

Notifications You must be signed in to change notification settings

syamgullipalli/simple_calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple_calculator

A simple calculator using HTML, CSS and JavaScript. The basic idea of this project is to implement a javascript application following the ground rules:

  • modular code
  • separation of concern
  • loosely coupled
  • encapsulate
  • testable

Publish–subscribe pattern is used to make the application loosely coupled. AMD pattern is followed using dojo for scalable application. Unit and functional tests are written using Intern.


Requirements


How to run

  • Clone the project
  • Run npm install from the simple_calculator directory to download and install the dependencies.
  • Open simple_calculator/src/index.html in a browser window
  • Optional
    • run npm start to run the node server
    • look at the console message for the host address

How to test

  • Run npm test from the simple_calculator directory to run the test cases.
  • Apart from the console output, the code coverage results will be stored in simple_calculator/tests/reports.
  • After running the tests, open simple_calculator/tests/reports/index.html in a browser window to look at the results.

Courtesy and useful links

About

A scalable HTML, CSS and JavaScript application using dojo and intern tests.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published