Questions tagged [test-environments]

The execution environment (server, data, users) for testing software.

There can be several phases of testing, each could require different text environments. They could be hosted on the same or different servers, but often they may have different sets of data and possibly users.

Some frequent types of test environments include (these definitions will vary at different companies):

  • Integration Test: First environment where individual programs are combined together to ensure interoperability
  • System Test: Where complete sets of well-defined test cases are run to exercise all business requirements
  • User Acceptance Test: Where end-users test out (new) functionality to ensure it meets their goals and data/results are valid
  • Performance Test: Testing that stresses the system with high volumes of data and transactions.
109 questions
4
votes
3 answers

How to keep a clean production version of your iOS App?

I develop an iOS App called Swordy Quest: https://apps.apple.com/us/app/swordy-quest-an-rpg-adventure/id1446641513 It contains Game Center integration for Leaderboards, Achievements, Player vs Player (PVP) matchmaking and Clans. I have a local test…
Charlie S
  • 4,366
  • 6
  • 59
  • 97
4
votes
1 answer

Dockerfile production/build/debug/test environment

Imagine you have your web application and some workflow executors: http-server (serving pre-build asset files) - production builder (compiling/bundling js/css/html from sources) - deployment/development debugger/builder (building from sources on…
3
votes
3 answers

How do you simulate frequent database activity for realistic testing?

I'm building a web app against a database where a small number of records (about 5000) are active at the same time. Each active working record probably experiences 50-300 changes by 30 users over a 4 hour period ... which is thousands of changes…
John MacIntyre
  • 12,910
  • 13
  • 67
  • 106
3
votes
2 answers

Local test server for PHP similar to Django's runserver

As a Python developer using mostly Django, I've grown accustomed to have a built-in test server for my projects, which spares me from setting up Apache for every single project I'm working on my local development machine. Is there something similar…
Benjamin Wohlwend
  • 30,958
  • 11
  • 90
  • 100
3
votes
3 answers

How to auto-deploy Play Framework (2.4) application locally with Jenkins?

How can I auto-deploy Play Framework (2.4) application with Jenkins locally on the same server Jenkins is running? At some point we're going to set up a proper production environment separately and will probably implement test environment(s) in the…
Touko
  • 11,359
  • 16
  • 75
  • 105
3
votes
0 answers

Grails change Environment from Development to Test

Is there any way to change current environment from DEVELOPMENT to TEST? I have tried, if(Environment.getCurrent().equals(Environment.DEVELOPMENT)){ Environment.currentEnvironment = Environment.TEST println("Current Environment :…
3
votes
3 answers

How to keep track of performance testing

I'm currently doing performance and load testing of a complex many-tier system investigating the effect of different changes, but I'm having problems keeping track of everything: There are many copies of different assemblies Orignally released…
Justin
  • 84,773
  • 49
  • 224
  • 367
2
votes
2 answers

AutoIt: What test environments or live interpreters available to test scripts?

Something like PyScripter's Python Interpreter, so I can type and run commands immediately (pictured towards the bottom of the following screen shot).
Umber Ferrule
  • 3,358
  • 6
  • 35
  • 38
2
votes
1 answer

Redis sentinel with only one host

I need to setup a development environment with redis. It need to have sentinels, to replicate the behavior we have in production (because our client applications use a JedisSentinelPool to connect). Unfortunately I only have one host available. Is…
0x26res
  • 11,925
  • 11
  • 54
  • 108
2
votes
1 answer

Switching environments iOS

I need to configure my environments in a way that points the app to dev server when testing internally on TestFlight, and points to prod server when pushed to actual App store. I have Debug & Release variables setup. When app is archived, build…
AnonProgrammer
  • 239
  • 1
  • 11
2
votes
1 answer

Api endpoint is present on test environment but not available on production, what http status code and message will be suitable for it?

The api endpoint is present on test environments but not available on production. What should happen if consumer calls the same api in production environment? Currently I use 404 - Not found, Which is a bit misleading for consumer, Consumer might…
2
votes
1 answer

Spring boot configure test database

I need to add tests to my Spring Boot project. With rails framework there is dev and test databases which are created when new project is started. Migrations are applied to both databases to keep the database schemas equal. Unfortunately I didn't…
PaintedRed
  • 1,398
  • 5
  • 19
  • 30
2
votes
1 answer

Should i run automated integration tests on different environment ?

I m a bit confused about constructing an automated integration test environment that will run all my integration tests. I have development, test (integration), preproduction (staging) and production servers and besides, have a server which is…
ccobanoglu
  • 192
  • 3
  • 13
2
votes
0 answers

Workflow Design - Going from Development to Testing to Production Databases

I've been trying to wrap my head around this for a few days now. The solutions I come up with are a little complicated. Usually that is a red flag that I'm going in the wrong direction. Anyway I'm trying to come up with solid, hands off, work flow…
2
votes
2 answers

Running migration script on test environment only

Is there a way to only run migrations in the test environment? I'd like to create tables and seed the data in only the test environment since the staging and production databases already exist.