I am using pytest for writing some tests at integration level. I would like to be able to also report the number of assertions done on each test case. By default, pytest will only report the number of test cases which have passed and failed.
As far as I can see there is no such possibility to get the number of passed assertions out of pytest. 
Reason: it employs Python's standard assert statement, so the determination whether the assertion is a pass or a fail is done within the engine used, and in case the engine does not count how often it got into the "pass" branch of the necessary if in assert's implementation, and offer a way to read out that counter, there is just no way to elicit that information from the engine. So pyTest can't tell you that either.
Many (unit) test frameworks report assertion count by default, and IMHO i deem it desirable, because it is - amongst others - a measure for test quality: sloppy tests might apply too few checks to values.
Report number of assertions in pyTest