Uploaded image for project: 'Slider'
  1. Slider
  2. SLIDER-1039

Run slider-agent (py)tests from target directory not src directory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Slider 0.91
    • build
    • None

    Description

      I had to -1 the slider-0.90.2-incubating RC0 build because I saw a bunch of pyc files in the source archive.

      Upon investigation on how these got there, it seems like the pytests that we run for the slider-agent module are invoked inside the src/ directory.

      We should really follow the same approach that is done for the Java files:

      • Compilation from src into target (just a copy for python)
      • Invocation of tests from inside target

      This should net us two things:

      • A build does not dirty the workspace (lots of ways this is good)
      • We can remove the *.pyc entry from .gitignore

      Attachments

        Activity

          People

            elserj Josh Elser
            elserj Josh Elser
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: