How to mix test assemblies with custom test script?

Mikhail TYmchuk's Avatar

Mikhail TYmchuk

28 Nov, 2016 04:07 PM

Hi,
I have appveyor.yml file with the test assembly specified.

How I want to add a script that runs ESLint and uploads the result to the Tests tab, as described here: https://www.appveyor.com/docs/running-tests/#uploading-xml-test-res...

However, I cannot get, where to place these commands?
Is it in section before_test, after_test or I need to put everything into the test_script and run NUnit manually?

  1. 1 Posted by Ilya Finkelshte... on 28 Nov, 2016 05:07 PM

    Ilya Finkelshteyn's Avatar

    Hi Mikhail,

    In your case, yes, you need to specify command to run tests and command to upload them under test_script.
    And you do not need to have test section, because it is needed if you just want to specify test assembly (or assemblies) and leave to AppVeyor to find what test runner to run against them and upload the results.

    Hope it makes sense.

    --ilya.

  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:09 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac