Does anyone know where to find NUnit console exit codes meanings?

后端 未结 3 1177
渐次进展
渐次进展 2021-01-03 18:28

I am getting error message from my MSBuild: \"nunit-console.exe\" exited with code -100.

Does anyone know where NUnit console exit codes meanings can be found?

3条回答
  •  情书的邮戳
    2021-01-03 19:05

    A minor update as of NUnit v3, the TRANSFORM_ERROR code appears to have been removed.

    The full list now stands as:

    OK = 0;
    INVALID_ARG = -1;
    INVALID_ASSEMBLY = -2;
    FIXTURE_NOT_FOUND = -3;       //Reserved, but not in use since v3.0
    INVALID_TEST_FIXTURE = -4;    //From v3.4
    UNEXPECTED_ERROR = -100;
    

    The source for this is currently located here.

    UPDATE: Five years on, we finally documented these. Hooray!

提交回复
热议问题