Questions tagged [system-testing]

System testing of software or hardware is testing conducted on a complete, integrated system to evaluate the system's compliance with its specified requirements.

System testing of software or hardware is testing conducted on a complete, integrated system to evaluate the system's compliance with its specified requirements. System testing falls within the scope of black box testing, and as such, should require no knowledge of the inner design of the code or logic.

137 questions
0
votes
0 answers

What's best practice for feature testing Rails workers with a Redis cache?

In our app's config/environments/development.rb we have Rails.application.configure do # ... if ENV['REDIS_URL'] config.cache_store = :redis_store, ENV['REDIS_URL'], { expires_in: 90.minutes } end end and in config/environments/test.rb…
Arepo
  • 825
  • 1
  • 9
  • 23
0
votes
0 answers

system test - how to test database without saving data actually

I currently use using (TransactionScope scope = new TransactionScope()) for c# testing database insertion so that it doesn't actually save into database for unit testing. But for system testing which I am currently testing on different server to…
sandy
  • 307
  • 2
  • 3
  • 7
0
votes
1 answer

How to test if Flask app handles correctly interrupted uploads?

I'm working on an API which, when a user uploads a file, processes this file on the fly to extract some data from it. The file can be quite large (up to 5 GB) and is not persisted on server. I have a bunch of system tests for it which use the common…
Arseni Mourzenko
  • 50,338
  • 35
  • 112
  • 199
0
votes
1 answer

How to combine Automation Tests that use different runners and platforms?

Is there a way (tools or solutions) to combine different suites for different technologies without writing your own test runner? I already have tests for different components of the system (Android, Web, back-end) but now I need to combine them…
mykhailo.romaniuk
  • 1,058
  • 11
  • 20
0
votes
0 answers

LDAP error during Rails5 System tests: Rack app error handling request { POST /login }

The LDAP authentication is implemented in Rails using https://github.com/plataformatec/devise/wiki/How-To:-Authenticate-via-LDAP and it works fine. An attempt to use LDAP during system tests http://guides.rubyonrails.org/testing.html#system-testing…
s0r1n
  • 1
  • 2
0
votes
1 answer

Why does a rails test revert back to initial path after i've clicked on a button?

I have the following system test (Rails backend, React/Redux frontend single-page application): test "can sign up user properly" do visit '/' within ('.signup-form-box') do fill_in 'Username', with:'userp' fill_in "Email…
sco
  • 367
  • 3
  • 14
0
votes
0 answers

How can I automatically modify a Pull Request on GitHub?

I would like to have TravisCI or some other GitHub application automatically modify pull requests based on a script that I provide. How can I do this? (Or maybe there is a better solution than what I've come up with.) Reason: I'm trying to add…
Eyal
  • 5,728
  • 7
  • 43
  • 70
0
votes
1 answer

Functional API Testing: form-driven applications

My application requires my users to go through a series of forms so that I can collect data and eventually action all the data from the series of forms at the end (picture an insurance application or something similar). There are requirements that…
lyonssp
  • 117
  • 1
  • 1
  • 7
0
votes
1 answer

Capybara has_content? block

Sometime I really need to check something in the database, But if I immediate will go to database with u = User.last there is a chance that AJAX request wont finished and in the User.last - I'll find old record. So for this I need some workaround,…
0
votes
1 answer

Setting current_user in system tests

I'm using system tests to verify that the following flow works as expected for a user: Sign up in a form Get signed in Visit account page Update account information However, I'm getting an error after user creation: Puma caught this error:…
Fellow Stranger
  • 32,129
  • 35
  • 168
  • 232
0
votes
1 answer

Sign up user and then visit account page with system tests?

If I've understood it correctly, creating a user in a form like below doesn't create a record in the database. I want to create a system test to follow these steps: 1. Sign up in a form 2. Visit account pages 3. Update account information What…
Fellow Stranger
  • 32,129
  • 35
  • 168
  • 232
0
votes
2 answers

JIRA: How to get search box to remember project code?

I use the search in JIRA about 50 times a day and every time it forgets what I just entered. Is there any way to tell it to remember the last search or the project code. (By project code I mean the first few letters of bug code such as "AAQT-").
Adamantus
  • 813
  • 1
  • 12
  • 30
0
votes
1 answer

Viewing failure triggers in Rails system tests

I have an ActionController::TestCase that's failing and I don't know why. require 'test_helper' class UsersControllerTest < ActionController::TestCase setup do @user = users(:bob) sign_in @user end test "should create user" do …
Turgs
  • 1,729
  • 1
  • 20
  • 49
0
votes
1 answer

TypeError with assert_text in capybara Rails 5.1

I'm Rails 5.1 and testing using the default System Tests I've the following code in a class RetreatTest: test "Create a new Retreat" do visit retreats_url click_on 'Create a new Retreat' fill_in "Title", with: "Retreat Title" fill_in…
dhaliman
  • 1,542
  • 1
  • 12
  • 23
0
votes
1 answer

cannot load such file -- capybara/minitest

hope somebody can help me with this. I did search but haven't found any working solution. I've started writing test for an app. My integration tests run fine, but then I decided that since I'm not that much of TDD driven and since I don't have that…
m3characters
  • 2,240
  • 2
  • 14
  • 18