Skip to content

Fail to run tests #28

@EcBen

Description

@EcBen

Following the How to contribute in development wiki, I could not get the unit tests to run. I would get this message.

No test is available in C:\path\to\keras-sharp\Test.dll. Make sure that test discoverer & executors are registered and platform & framework version settings are appropriate and try again.

See: https://stackoverflow.com/q/34790339/251019

Also, the suggested Ctrl+R, Ctrl+T did not work.

Installing the NUGET package NUnit3TestAdapter fixed this for me.

  • Open the Package Manager Console
  • Run: Install-Package NUnit3TestAdapter
  • Set test Processor Architecture to X64: Test -> Test Settings -> Default Processor Architecture -> X64
  • Rebuild the tests: Build -> Rebuild Unit Test
  • Run all tests: Test -> Run > All Tests or press Ctrl+R, Ctrl+T

Can the wiki be updated with this information?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions