Skip to content

v0.14.0

Compare
Choose a tag to compare
@github-actions github-actions released this 18 May 12:37
· 1511 commits to main since this release

Summary

  • Make the TCR print some test information from the build output
  • The new CSV file should include the number of tests (ran, passed, failed, skipped, with errors)
  • Increase test-coverage through adding new test cases

Changelog

  • 8e15560 #33: Change Regex to make the newline work on Windows and Unix - Refactor the test tcr_test to have 2 functions initTcrEngineWithFakes
  • aac20ff #33: Refactoring - Command.Run - Use the named parameters to return the values of the function
  • 7645f99 #33: Refactoring - Move TestResults to ToolChain - Moved the TestResults from the events package to toolchain package - Made the function Toolchain.RunTests return a pair of TestResults and Error
  • 223b15f #33: Refactoring - rename of methods and variables - rename the TestsRan to TestRun - Rename TestRunInformation to TestResults
  • 359f605 #33: Store the Tests stats in the CSV file - Add 3 new fields to the TcrEvent(TestsFailed,TestsPassed, TestsSkipped, TestsWithErrors) - Add new functions to the TcrEventTestDataBuilder to set the values of the new fields
  • f1e6d97 #33: Store the Tests stats in the CSV file - Add all of the new fields of the TCR Event
  • a90c179 #33: Store the Tests stats in the CSV file - Change the regex to make it catch the last test report line, when there are many modules built in maven - Adapt the test accordingly
  • 5fc3663 #33: Store the Tests stats in the CSV file - Create a new TestRunInfo class that contains information of the mvn build - Implement a TestRunParser class that converts an mvn build output into a TestRunInformation class
  • 3ea9f62 #33: Store the Tests stats in the CSV file - Fix a bug that was preventing the TestRun output from being returned - Make the method tcr.logEvent take an instance of the TestRunInformation - Add the TestRunInformation details to the TcrEvent in the repository - Make Tcr.test return the testoutput returned from toolchain.RunTests - make the function tcrTest.registerFakeToolchain take the testOutput as parameter -
  • 10ed7b3 #33: Store the Tests stats in the CSV file - Made the function Command.run return a pair of string and error - made toolChain.RunBuild and toolChain.RunTests ignore the output of hte run command for now
  • a0684f7 #33: Store the Tests stats in the CSV file - Made the function TCR.test return a pair of string and error - Adapt the parametrized tests in tcr_test
  • 0ad27db #33: Store the Tests stats in the CSV file - Made the function ToolChain.RunTests return a couple - For now, the string returned is ignored
  • 6f3700e #33: Store the Tests stats in the CSV file - Rename the TcrEvent.AddedTestCases to TcrEvent.TotalTestsRan
  • 09a57dd #33: Store the Tests stats in the CSV file - Reorder the TestsPassed and TestsFailed fields in the TcrEvent Struct
  • 516196d Add test cases for GitImpl commit and restore functions
  • 9558c83 Add test cases for GitImpl push and pull functions
  • 6bb8574 Add test cases for toolchain commands handling
  • b0c36cf Add tests with in-memory filesystem on language package
  • f609969 Bump github.com/fsnotify/fsnotify from 1.5.2 to 1.5.4
  • 0abbfc6 Refactor TCR engine tests
  • fe509d4 Refactor and improve test coverage for toolchain.command
  • 810dc48 Replace git.ListChanges() with git.Diff()
  • 085b8c3 Use github.run_number for setting sonar.projectVersion