Skip to content

Test failing unexpected #3

@g-bohncke

Description

@g-bohncke

While running any test via the maven plugin I get them failing with:

Running Test [example] for Flow [sayHello] from Suite [Testsuite_1]

Test case example doesnt have any assertions. Test execution skipped.
Running Test [greg] for Flow [sayHello] from Suite [Testsuite_1]

Test case greg doesnt have any assertions. Test execution skipped.
Running Test [weird chars] for Flow [sayHello] from Suite [Testsuite_1]

Test case weird chars doesnt have any assertions. Test execution skipped.

while if I run the same tests in vscode or via cli they pass:
./target/HelloWorld.exe test --test-file ./example.flogotest --app ./example.flogo --result-filename example.testresult --collect-coverage --test-preserve-io

Test case greg execution completed. All assertions passed
Running Test [weird chars] for Flow [sayHello] from Suite [Testsuite_1]
2025-05-07T12:12:10.350+0200    INFO    [flogo.flow] -  Executing Flow Instance [dc376d66bc743a1cc59ae729d431e662] for event id []
2025-05-07T12:12:10.351+0200    INFO    [flogo.general.activity.log] -  Name: *&$#@(&#@$&*#@!*^#$@!*%#^(!@#
2025-05-07T12:12:10.352+0200    INFO    [flogo.flow] -  Flow Instance [dc376d66bc743a1cc59ae729d431e662] for event id [] completed in 2.0944ms

Test case weird chars execution completed. All assertions passed
Test suite Testsuite_1 executed.
Tests Run: 3     Success: 3      Failure: 0      Error: 0

Suite Result
Suites Run: 1   Success: 1      Failure: 0
Printing result to file example.testresult.testresult 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     TIBCO Flogo® Runtime Test Execution Completed

the example code
example.flogo.txt

example.flogotest.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions