s2i-ruby-container
s2i-ruby-container copied to clipboard
Add container PyTest to Ruby Container
Add Container PyTest suite to s2i-ruby container. Migration matrix is following:
For db, puma, rack applications are classes: db -> TestRubyHelloWorldContainer puma -> TestRubyPumaTestAppContainer rack -> TestRubyRackTestAppContainer
test_docker_run_usage -> test_container_basics.py->TestS2IRubyContainer(test_docker_run_usage)
test_application -> test_application in each class
test_connection -> test_application in each class in assert
test_response -> test_application in each class in assert
test_scl_usage -> test_container_basics.py->TestS2IRubyContainer(test_scl_usage)
test_npm_functionality -> test_container_basics.py->TestRubyNPMtestContainer
test_ruby_fips_mode -> test_container_fips.py->TestRubyFipsModeContainer(test_fips_mode)
test_ruby_fips_s2i_app -> test_container_fips.TestRubyFipsApplicationContainer(test_application)
test_from_dockerfile -> test_container_basics.py -> TestS2IRubyContainer(test_dockerfiles)
test_from_dockerfile.s2i -> test_container_basics.py -> TestS2IRubyContainer(test_dockerfiles)