Skip to content

Merge pull request #11 from Khady/louis/tests-update #27

Merge pull request #11 from Khady/louis/tests-update

Merge pull request #11 from Khady/louis/tests-update #27

GitHub Actions / Test Report succeeded Dec 21, 2024 in 1s

7 passed, 5 failed and 1 skipped

Tests failed

Report Passed Failed Skipped Time
_build/default/alcotest/test/alcotest_report.xml 6✅ 4❌ 0ms
_build/default/junit/test/simple.xml 1✅ 1❌ 1⚪ 6ms

❌ _build/default/alcotest/test/alcotest_report.xml

10 tests were completed in 0ms with 6 passed, 4 failed and 0 skipped.

Test suite Passed Failed Skipped Time
My first test 2✅ 2❌ 0ms
My second test 2✅ 2❌ 0ms
Success test suite 2✅ 0ms

❌ My first test

My first test.Basic tests
  ❌ Test with unexpected exception
	Invalid_argument("7")
  ✅ Capitalize
  ✅ Add entries
  ❌ Test with wrong result
	Alcotest assertion failure

❌ My second test

My second test.Basic tests
  ❌ Test with unexpected exception
	Invalid_argument("7")
  ✅ Capitalize
  ✅ Add entries
  ❌ Test with wrong result
	Alcotest assertion failure

✅ Success test suite

Success test suite.Good tests
  ✅ Capitalize
  ✅ Add entries

❌ _build/default/junit/test/simple.xml

3 tests were completed in 6ms with 1 passed, 1 failed and 1 skipped.

Test suite Passed Failed Skipped Time
JUnitXmlReporter 0ms
JUnitXmlReporter.constructor 1✅ 1❌ 1⚪ 6ms

❌ JUnitXmlReporter.constructor

✅ should default useDotNotation to true
⚪ should default consolidate to true
❌ should default path to an empty string
	Assertion failed

Annotations

Check failure on line 0 in _build/default/alcotest/test/alcotest_report.xml

See this annotation in the file changed.

@github-actions github-actions / Test Report

My first test ► My first test.Basic tests ► Test with unexpected exception

Failed test found in:
  _build/default/alcotest/test/alcotest_report.xml
  _build/default/alcotest/test/alcotest_report.xml
Error:
  Invalid_argument("7")
Raw output
Invalid_argument("7")

Check failure on line 0 in _build/default/alcotest/test/alcotest_report.xml

See this annotation in the file changed.

@github-actions github-actions / Test Report

My first test ► My first test.Basic tests ► Test with wrong result

Failed test found in:
  _build/default/alcotest/test/alcotest_report.xml
  _build/default/alcotest/test/alcotest_report.xml
Error:
  Alcotest assertion failure
Raw output
Alcotest assertion failure
File "alcotest/junit_alcotest.ml", line 20, character 6:
FAIL string_of_int equals to '7'

   Expected: `"7"'
   Received: `"8"'

Check failure on line 0 in _build/default/junit/test/simple.xml

See this annotation in the file changed.

@github-actions github-actions / Test Report

JUnitXmlReporter.constructor ► should default path to an empty string

Failed test found in:
  _build/default/junit/test/simple.xml
Error:
  Assertion failed
Raw output
Assertion failed