关闭

Software testing - Junit

这项目被授予 vermarakesh1986 ,费用为$20 USD

为像这样的项目获取免费报价
雇主工作
项目预算
$10 - $30 USD
全部竞标
14
项目描述

Need to write some Junit for some small codes. Here is some requirements:

test case table, reduced CFG with CC, and basis paths (in the test case table)Draw the reduced CFG (DD-path graph) - use the line numbers from the provided Java code.

Determine the Cyclomatic complexity

Develop the basis paths using the Cyclomatic complexity. Use all True paths as the initial basis path.

Develop the test case table with test case number, inputs, expected outputs and basis path tested.

For logical expressions develop test cases using MCDC - clearly indicate the MCDC test cases in your test case table or other submitted information.

Make sure that your JUnit test case file matches the test case table.

Snapshot of JUnit passing (green run bar with no errors)

Execute the tests in JUnit using JUnitParamsRunner.

Make sure the JUnit run bar is expanded to show the inputs and outputs for each test case.

Snapshot of JaCoCo source annotations for the unit under test

Show only the annotations of the source of the Unit Under Test (UUT) - we don't want the source annotations for the JUnit test file.

annotations for the UUT

Success for coverage is all green lines (all diamonds green).

Determine the code coverage achieved (decision, statement, condition, etc.)

Your JUnit test file.

在寻找赚取金钱的机会?

  • 设定您的预算和时间框架
  • 大致描述您的建议方案
  • 为您的工作领取工资

雇用同样在该项目上竞标的威客

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online