C
C#2mo ago
WarningShoot

Creating pipeline with selenium specflow

Hey, what I want to do is frontend tests in my pipeline on azure DevOps with local agent. Here is what I got for now: 1. Restore nugget 2.Build 3.Publish 4.Publish artifacts 5.Selenium Test It's working good but problem is I don't know how to host my application in pipeline. I want it to look like this 1. Restore nugget 2.Build 3.Publish 4.Publish artifacts 5.host application and wait until it's fully started (it can be in specific time like 30s) after it move on with server hosted 6.Selenium Test 7. Stop application
3 Replies
SpReeD
SpReeD2mo ago
Take a look at the agile testing pyramid - what you're describing isn't suitable for automated tests, it's more the top of manual tests. What you need is to do component tests, which mocks the output of selenium - you do not test selenium itself.
SpReeD
SpReeD2mo ago
No description
WarningShoot
WarningShoot2mo ago
Well maybe I described it wrong. I want to do UI tests using selenium. I do not want test selenium