62

GitHub - hkpeterpeter/COMP3111-Spring2018-ProjectBaseCode: A base code for COMP3...

 6 years ago
source link: https://github.com/hkpeterpeter/COMP3111-Spring2018-ProjectBaseCode
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

HKUST COMP3111 Software Engineering (Spring 2018)

Quick reference links:

This GitHub repo hosts the base code of COMP3111 group project. The following features are provided

  • A Java codebase which can be imported to Eclipse IDE.
  • Sample data handling classes are implemented in core.comp3111 package
  • A sample JUnit test (DataColumnTest) is implemented in testing.comp3111 package (with 100% test coverage on DataColumn)
  • A sample JavaFx GUI component is implemented in ui.comp3111 package

Instructions to clone this GitHub project:

  • Follow the instructions to install JavaFx to your Eclipse IDE
  • Restart Eclipse IDE
  • Select File > Import...
  • Select Git > Projects
  • Select Clone URI and then click Next >
  • Copy and paste the URL from the web browser to the text box of URI
  • Click Next > buttons a few times. Accept all default settings.
  • Click Finish at the end

After importing this GitHub repo, the Eclipse project explorer should be displayed as follows:

Eclipse Project Explorer

Steps to run the Java GUI application

  • Right-click the project folder
  • Select Run As > Java Application

Steps to run the unit test and generate the coverage report

  • Right-click the project folder
  • Select Coverage As > JUnit Test
  • All unit tests in testing.comp3111 should be executed
  • A coverage report should be generated as follows:

A sample coverage report


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK