Giter Site home page Giter Site logo

Comments (3)

benkrikler avatar benkrikler commented on May 23, 2024 1

For completeness and future reference, without pytest-console-scripts installed, I got the following two errors when I ran the unit tests:

=================================================================================================== ERRORS ====================================================================================================
____________________________________________________________________________________ ERROR at setup of test_run_task_null _____________________________________________________________________________________
file /afs/cern.ch/work/b/bkrikler/FAST/FAST-RA1/external/alphatwirl/tests/unit/concurrently/test_run_py.py, line 89
  @pytest.mark.script_launch_mode('subprocess')
  def test_run_task_null(script_runner, workingarea_path, package_rel_path_task_raise, env):
E       fixture 'script_runner' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, env, fs, monkeypatch, package_rel_path_task_null, package_rel_path_task_raise, pytestconfig, record_xml_attribute, record_xml_property, recwarn, tmpdir, tmpdir_factory, workingarea_path
>       use 'pytest --fixtures [testpath]' for help on them.

/afs/cern.ch/work/b/bkrikler/FAST/FAST-RA1/external/alphatwirl/tests/unit/concurrently/test_run_py.py:89
_________________________________________________________________________________________ ERROR at setup of test_run __________________________________________________________________________________________
file /afs/cern.ch/work/b/bkrikler/FAST/FAST-RA1/external/alphatwirl/tests/unit/datasetloop/test_resume_py.py, line 47
  @pytest.mark.script_launch_mode('subprocess')
  def test_run(script_runner, pickled_reader_path, env):
E       fixture 'script_runner' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, env, fs, monkeypatch, pickled_reader_path, pytestconfig, record_xml_attribute, record_xml_property, recwarn, tmpdir, tmpdir_factory, workingarea_path
>       use 'pytest --fixtures [testpath]' for help on them.

/afs/cern.ch/work/b/bkrikler/FAST/FAST-RA1/external/alphatwirl/tests/unit/datasetloop/test_resume_py.py:47
=============================================================================== 630 passed, 9 skipped, 2 error in 9.25 seconds ================================================================================

from alphatwirl.

TaiSakuma avatar TaiSakuma commented on May 23, 2024

Yes, at the moment, .travis.yml shows the requirements for running the test.

They are not in requirements.txt because they are only required for running the tests. Incidentally, Sphinx shouldn't be in requirements.txt either. I am planning to have multiple requirements.txt files, at least three, for using alphatwirl, for running the tests, and for compiling the sphinx doc.

You can edit README.md (not the one at the top dir but the one in the tests dir) if you want them to be listed there.

from alphatwirl.

TaiSakuma avatar TaiSakuma commented on May 23, 2024

the issue #35 tracks the update on requirement files.

Please, look at .travis.yml for the requirements for running the test for now.

from alphatwirl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.