elsa-core/test/unit/Elsa.Activities.UnitTests
Sipke Schoorstra 4ee8f6912d
Add unit and integration tests for the Finish activity to validate termination behavior (#7110) (#7114)
* Add unit and integration tests for the `Finish` activity to validate termination behavior (#7110)

- Added `FinishInSequenceWorkflow` to test `Finish` activity in a sequence workflow configuration.
- Introduced integration tests (`FinishTests`) to confirm `Finish` terminates workflows and skips subsequent activities.
- Developed unit tests to verify activity completion and workflow status transitions to `Finished`.

* Update test/integration/Elsa.Activities.IntegrationTests/Primitives/Workflows/FinishInSequenceWorkflow.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update test/integration/Elsa.Activities.IntegrationTests/Primitives/Workflows/FinishInSequenceWorkflow.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Add `Finish` activity unit test to verify ITerminalNode implementation

* Add code coverage report generation and GitHub Pages deployment workflow

- Removed unused `tempvalidator` project and its associated files.
- Updated GitHub Actions workflow to include steps for generating code coverage reports in HTML format using `dotnet-reportgenerator-globaltool`.
- Added deployment of coverage reports to GitHub Pages for the `main` branch.
- Updated `.gitignore` to exclude test results and artifacts.

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-27 20:51:59 +01:00
..
Branching FlowJoin - Improving unit tests, more DRY + integration test 2025-11-04 10:24:16 +01:00
Composition Add unit and integration tests for Complete activity to validate composite workflows execution (#7108) 2025-11-26 12:26:31 +01:00
Console Add unit tests for ReadLine activity (#7110) (#7112) 2025-11-27 20:51:41 +01:00
Flow Add integration and unit tests for Start activity across different workflow scenarios (#7111) 2025-11-27 09:24:33 +01:00
Http Add unit and integration tests for DownloadHttpFile activity (#7094) 2025-11-24 14:37:06 +01:00
Looping Improves Fork activity and break signal handling (#7104) 2025-11-25 19:29:02 +01:00
Parallel Feat/unit test coverage sendhttprequest (#6961) 2025-10-20 20:11:46 +02:00
Primitives Add unit and integration tests for the Finish activity to validate termination behavior (#7110) (#7114) 2025-11-27 20:51:59 +01:00
Scheduling Add extensive unit and component tests for scheduling activities (#7036) 2025-11-07 21:54:50 +01:00
Elsa.Activities.UnitTests.csproj Add code coverage configuration and adjust test projects (#7049) 2025-11-12 13:59:36 +01:00
Usings.cs (WIP) Initial context helper + provisional unit tests for setvariable 2025-10-07 15:56:08 +02:00