Bug 47707 - Could not find rspec-3.11.0 при тестовом прогоне
Summary: Could not find rspec-3.11.0 при тестовом прогоне
Status: RESOLVED WONTFIX
Alias: None
Product: Sisyphus
Classification: Development
Component: gem-forking-test-runner (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: majioa@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-23 21:09 MSK by Evgeny Shesteperov
Modified: 2024-04-21 03:43 MSK (History)
10 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evgeny Shesteperov 2023-09-23 21:09:47 MSK
Версия

-   gem-forking-test-runner-1.13.0-alt1

Шаги воспроизведения

    # apt-get install -y gem-forking-test-runner forking-test-runner gem-forking-test-runner-doc gem-bump gem-rspec gem-sqlite3 gem-minitest gem-activerecord gem-parallel-tests gem-rspec-core gem-rspec-expectations gem-rspec-mocks gem-activemodel gem-activesupport gem-parallel gem-rspec-support gem-diff-lcs gem-concurrent-ruby gem-i18n gem-tzinfo && \
    git clone https://github.com/grosser/forking_test_runner.git && \
    cd forking_test_runner/spec/dummy && \
    forking-test-runner test/

Ожидаемый результат: прогон тестов, как примере:

    forking-test-runner test/
    Running tests test/another_test.rb test/pollution_test.rb test/simple_test.rb
    ------ >>> test/another_test.rb
    Run options: --seed 19151

    # Running tests:

    .

    Finished tests in 0.002904s, 344.3526 tests/s, 344.3526 assertions/s.

    1 tests, 1 assertions, 0 failures, 0 errors, 0 skips
    ------ <<< test/another_test.rb ---- OK

    ...

    Results:
    test/another_test.rb: OK
    test/pollution_test.rb: OK
    test/simple_test.rb: OK

    9 assertions, 0 errors, 0 failures, 0 skips, 8 tests

Фактический результат:

    Running tests test/another_test.rb test/no_ar_test.rb test/pollution_test.rb test/simple_test.rb
    /root/forking_test_runner/lib/forking_test_runner/version.rb:2: warning: already initialized constant ForkingTestRunner::VERSION
    /usr/lib/ruby/gemie/gems/forking_test_runner-1.13.0/lib/forking_test_runner/version.rb:2: warning: previous definition of VERSION was here
    Could not find rspec-3.11.0, sqlite3-1.4.2, minitest-5.15.0, activerecord-7.0.3, parallel_tests-3.8.1, rspec-core-3.11.0, rspec-expectations-3.11.0, rspec-mocks-3.11.1, activemodel-7.0.3, activesupport-7.0.3, parallel-1.22.1, rspec-support-3.11.0, diff-lcs-1.5.0, concurrent-ruby-1.1.10 in any of the sources
    Run `bundle install` to install missing gems
Comment 1 Малъ Скрылевъ 2024-04-21 03:43:37 MSK
Пакетъ gem-forking-test-runner-devel ставили? 

Въ исходникахъ также нужно удалить Gemfile.lock, чтобы подцѣпились сѵстемные.