Test after deploy finished - what CI waiting for?

  1. When did you start experiencing this issue?

    -Feodor

  2. I noticed only few builds ago

  3. Is it Visual Studio 2015 project?

  4. 2013

  5. OK, then it's not VS 2015 Update 1.

    Do you spawn any new processes during tests?

  6. I do not use RDP so no ...

  7. I mean inside of your tests - do you start new child processes?

  8. no. I use reflection like

  9. private void ReRun(string fullClassName, string testName)
            {
                var type = Type.GetType(fullClassName);
                dynamic instance = Activator.CreateInstance(type);
                var method = type.GetMethod(testName);
                var initializeMethod = type.GetMethod("TestInitialize");

                try
                {
                    initializeMethod.Invoke(instance, null);
                    method.Invoke(instance, null);
                    cleanUp(type, instance);
    .............................

  10. It is simple Selenium SPA tests, js scripts sometimes run

  11. Do you start Web Driver executables (Chrome or IE) during the tests?

  12. of course - Selenium tests at the end (Chrome driver)

  13. Make sure Chrome driver process is killed in tests tear down. This is how it's made for xunit runner: https://github.com/FeodorFitsner/selenium-tests/blob/master/Seleniu...

    I think you may just kill its process for simplicity.

  14. Thanks! Great! I use custom attribute so I have not disposed driver.

  15. dsalodki closed this discussion on 17 Jun, 2016 07:12 PM.

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

Recent Discussions