Noksa / Allure.NUnit

C# NUnit Allure with improvements and SpecFlow3 adapter
MIT License
18 stars 6 forks source link

allureConfig.json not found #37

Closed iamfreid closed 5 years ago

iamfreid commented 5 years ago

Hi @Noksa

I installed specflow3 adapter and added allureconfig.json

I get an error when running tests:

ITSMCore.Tests.PMI_RN._1_XОбщесистемныеСправочникиИОбъектыFeature._1_ДобавлениеЗначенийВСправочникиМакрорегионыРПУТерриторииИМестоположения

OneTimeSetUp: System.TypeInitializationException : The type initializer for 'AllureSpecFlow.AllureTestTracerWrapper' threw an exception.
  ----> System.IO.FileNotFoundException : allureConfig.json not found at "/Users/romancherkasov/.nuget/packages/noksa.nunit.allure/3.0.4/lib/netstandard2.0".
Make sure the allureConfig.json's property "Copy to Output Directory" is set to "Always" or "Copy if newer"
  Exception doesn't have a stacktrace

It`s not right path:

"/Users/romancherkasov/.nuget/packages/noksa.nunit.allure/3.0.4/lib/netstandard2.0".

Versions

Noksa commented 5 years ago

Hello. https://github.com/Noksa/Allure.NUnit/wiki/Ability-to-store-the-configuration-file-in-the-specified-directory