I have been using Selenium with Java and C# for a while. I just recently started using Selenium with Python. And, I find this to be quite easy to adopt as most of the features remain the same but for python specific syntax.
Our devs use Django framework and the application actually interacts with quite a few other applications. Automating end to end tests for such an application is quite challenging as the application under test is dependent on more than 3 different applications. So, our Head of QA (Milind) suggested to use a unit test framework provided by Django - StaticLiveServerTestCase.
The beauty of this framework is that it fires up a live server instantaneously for every test run and helps us to eliminate the dependencies with other applications enabling us to actually just test our application exclusively.
Since I’m not so familiar with Python and StaticLiveServerTestCase, I initially created assertions for every single step like login, navigation etc (just to be sure). Once I actually finished coding the entire test, I realized that I was still having those unnecessary assertions for smaller steps like login, navigation etc which was unnecessary and could actually take a hit on the time taken to run test in the long run. So I just got rid of them now.
This is my example from my recent experience which just fits the bill for today’s task )