Giter Site home page Giter Site logo

maxiaotian520 / cpsc_542_project Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yingluo111/cpsc_542_project

0.0 1.0 0.0 311.18 MB

Group project for CPSC 542 Software Verification and Validation

Shell 0.53% HTML 0.67% JavaScript 67.00% SCSS 25.09% Java 5.53% Python 1.18%

cpsc_542_project's Introduction

CPSC_542_Project

CPSC 542 Software Verification and Validation
Group Project

Professor: David Heckathorn

Team Members:
Ying Luo, [email protected]
Xiaotiam Ma, [email protected]
Yixiang Yan, [email protected]

Open Source project tested: Fakeflix - https://github.com/Th3Wall/Fakeflix

How to run the project:

  1. In the root directory of Fakeflix project, run the following command to navigate to the testing directory
    cd ./src/tests
  2. Run the following command to install the packages
    sh test_initializer.sh
  3. Steps for running backbox tests:
    • In the root directory of Fakeflix project, run the following command to navigate to blackbox testing directory
      cd ./src/tests/blackbox_testing
    • Run the following command to start the Fakeflix project
      sh start_fakeflix.sh
    • Each directory in the /blackbox_testing folder is separate project to test one function of the Fakeflix project, load the project in a Java or Python IDE and execute the corresponding blackbox testing for that function. Demos are available for the functional tests.
  4. Steps for running whitebox tests:
    • In the root directory of Fakeflix project, run the following command to navigate to whitebox testing directory
      cd ./src/tests/blackbox_testing
    • Run the following command to execute the unit tests for Fakeflix project:
      sh execute_unit_tests.sh
    • Run the following command to execute the unit tests for Fakeflix project and get code coverage report:
      sh execute_code_coverage.sh
    • In the root directory of Fakeflix project, the code coverage repoort is available at the following path
      ./coverage/lcov-report/index.html

Tools used for blackbox testing:

  • Selenium - Browser automation

Tools used for whitebox testing:

  • Mocha - Javascript test framework
  • Chai - Javascript assertion library
  • Enzyme - Javascript React test Utility
  • Sinon - Javascript standalone test doubles(spies, stubs, mocks)
  • NYC - Javascript coverage report utility tool

cpsc_542_project's People

Contributors

yingluo111 avatar maxiaotian520 avatar yyx3333 avatar

Watchers

James Cloos 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.