reqnroll / Reqnroll

Open-source Cucumber-style BDD test automation framework for .NET.
https://reqnroll.net
BSD 3-Clause "New" or "Revised" License
356 stars 38 forks source link

Update Reqnroll.Verify.targets #97

Closed ajeckmans closed 5 months ago

ajeckmans commented 5 months ago

Fixes #96

ajeckmans commented 5 months ago

Not sure why the xUnit Specs would fail on this. I don't have a local set up where I can effectively run tests. But I see no reference to the verify plugin in that test code.

gasparnagy commented 5 months ago

It is strange... Somehow it tries to run the tests from the external binding assembly and not from the project assembly

Starting test execution, please wait...
 A total of 1 test files matched the specified pattern.
 Test run for /tmp/RR/R117f425f/S7f3b5ed3/ExternalSteps/bin/Debug/net6.0/ExternalSteps.dll (.NETCoreApp,Version=v6.0)
 Microsoft (R) Test Execution Command Line Tool Version 17.3.3 (x64)
 Copyright (c) Microsoft Corporation.  All rights reserved.

 Starting test execution, please wait...
 A total of 1 test files matched the specified pattern.
 -> Loading plugin /tmp/RR/R117f425f/S7f3b5ed3/TestProj_b0890cac/bin/Debug/net6.0/Reqnroll.xUnit.ReqnrollPlugin.dll
 -> Loading plugin /tmp/RR/R117f425f/S7f3b5ed3/TestProj_b0890cac/bin/Debug/net6.0/TestProj_b0890cac.dll
 -> Using reqnroll.json
 No test is available in /tmp/RR/R117f425f/S7f3b5ed3/ExternalSteps/bin/Debug/net6.0/ExternalSteps.dll. Make sure that test discoverer & executors are registered and platform & framework version settings are appropriate and try again.
 Results File: /tmp/RR/R117f425f/S7f3b5ed3/ExternalSteps/TestResults/_fv-az575-932_2024-04-09_12_13_33.trxResults File: /tmp/RR/R117f425f/S7f3b5ed3/TestProj_b0890cac/TestResults/_fv-az575-932_2024-04-09_12_13_33.trx

I triggered a re-run. Maybe transient issue.

ajeckmans commented 5 months ago

Apparently it was.

ajeckmans commented 5 months ago

@gasparnagy can we merge this?