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
26
votes
6 answers

How to setup different firebase environments in Flutter

I am trying to figure out how to set up different firebase environments in a flutter project. I understand how to do this in firebase, I created two projects, one for production, one for the test. Then, in an iOS or Android project, I could use…
Daniel Brotherston
  • 1,954
  • 4
  • 18
  • 28
19
votes
3 answers

How to change the environment in Laravel 5.1?

What I understand about the working of environments in Laravel is that you have different environments for different, well environments. So, if you are running your app locally you could have a .env.local file. If you are testing or on production,…
19
votes
3 answers

How to deal with shared state in a micro-service architecture?

In our company we are transitioning from a huge monolithic application to a micro-service architecture. The main technical drivers for this decision were the need to be able to scale services independently and the scalability of development - we've…
17
votes
3 answers

How to run Angular 7 unit tests with custom environment.test.ts settings?

How do I get the Angular CLI to serve up the right environments/environment*.ts file in Angular 7? I've tried configuring the replacement of the environment.ts with environment.test.ts in three different places with no success. I've tried running it…
16
votes
5 answers

Keeping testing and production server environments clean, in sync, and consistent

It seems that the company that I work for is always struggling with our customers’ server environments. Specifically, we almost always encounter problems with testing servers and production servers, and the fact that they always seem to be…
15
votes
5 answers

Best practice for test and production environments

In the company where I work, we have 2 environments: test and production. We are not currently starting a new environment, because of cost. Here is the procedure we follow: business makes a feature request, development makes it happen and deploys it…
SadullahCeran
  • 2,425
  • 4
  • 20
  • 34
8
votes
0 answers

Firebase Authentication Staging Environment

I find nowhere in the docs how to setup a separate development (pre-production, staging, etc.) environment when working with Firebase Authentication. I do not want to create and delete arbitrary user accounts and be sending emails using my live…
Sammy
  • 3,395
  • 7
  • 49
  • 95
8
votes
1 answer

How to run db:migrate for test database in Rails 5?

I created a new rails 5 app with postgresql db and modified the database.yml file. I successfully created both development and test databases, but when running migrations only development db is updated and test db remains intact. Here's the list of…
Gerry
  • 10,337
  • 3
  • 31
  • 40
7
votes
6 answers

XAMPP: your connection is not private NET::ERR_CERT_AUTHORITY_INVALID

I'm working in a virtual server on my 64bits windows 7 machine, and a few weeks this error start to appear on google chrome: XAMPP: your connection is not private NET::ERR_CERT_AUTHORITY_INVALID I've migrated to Opera to continue developing on my…
6
votes
1 answer

How to minimize repetition in tox file

Goal: Successfully execute specific tox commands, and have it run for "just" that specific matched command. Example: tox -e py35-integration tox should run only for py35-integration and not including the default or standalone py35 definition. I…
idjaw
  • 25,487
  • 7
  • 64
  • 83
6
votes
3 answers

reCAPTCHA in a local network machine

How can I use Google's reCAPTCHA in a test server on a local network? According to the documentation: By default, all keys work on "localhost" (or "127.0.0.1"), so you can always develop and test on your local machine. My virtual machines however…
Mahn
  • 16,261
  • 16
  • 62
  • 78
6
votes
2 answers

RequireJS: loading different files according environment

Is there any functionality to load different files according on current project environment (development or production for example)? I mean something, that helps me transparently loading minified or full files. I read about multiversion loading, but…
LMnet
  • 605
  • 1
  • 8
  • 17
5
votes
1 answer

autoload specific module during testing in Rails

i noticed my controller test started growing too large, so i moved some stubbing methods into a separate module. i put it in test/lib/my_module.rb module MyModule def mymethod end end so my controller test in test/controllers/my_controller.rb…
Pavel K.
  • 6,697
  • 8
  • 49
  • 80
5
votes
1 answer

Forward a copy of http requests to another (test) environment

I want all the production data for my web-app to also flow through my testing environment. Essentially, I want to forward every http request for the production site to the test site (and also have the production website serve it!). What is a good…
4
votes
5 answers

Is there a way to replace 127.0.0.1 on my local machine for test purposes?

I know it may sound stupid but anyway. Maybe there is a trick? I just want that the local web server receives requests from my local machine but somehow sees a different IP address? Even one single that is different from the infamous 127.0.0.1 would…
1
2 3 4 5 6 7 8