What is a software? - client is the one that makes the request - example: if I type facebook.com from MS edge, edge is the client - server is the one that fulfils the client's request - server have several layers to process the request from the client In SDLC (software development life cycle), there are environments. ---------------- What are environments? - developer/local environment (Local host) - developer will then deploy the code to test environment - test environment is where testers will test the software - sandbox environment / pre-production; this is where UAT happens - production environment; this is the live environment published to the intended end user ------------------ Server Vs Cloud based server Server - usually on premise - have a max capacity Disadvantage: - if on rare occasion, there is an influx on the traffic to the server, it may cause the server to go over the max capacity which can result in slow loading on total shutdown of server - to comb...
Specflow is a BDD framework - purpose of using Specflow is when you want to apply BDD methodology (because Selenium is not enough to implement BDD) BDD Behavior-driven development (BDD) is an agile software development methodology that focuses on collaboration and communication between developers, testers, and business stakeholders Selenium is also a framework NUnit is also a framework In feature file part, will use Gherkin syntax to write test case (will only include human language test case) Step definition will bridge the human language with the code To use Specflow, need to install below NuGet packages Creating a feature file: Folder > Add > New Item > Specflow The tag can be used to tag the test case. Example, @positive / @smoke / @regression etc What is Gherkin ? Given, When, Then - These are Gherkin syntax Creating the step definition:
Comments
Post a Comment