I thought the whole purpose of these attributes was to run them only once per assembly. I have a simple class as follows:
[TestClass] public class AssemblyIntegr
In my case, it was a misbehavior of QTAgent32.exe process that was causing [AssemblyInitialize] to be executed twice. Restarting the host machine where my code was built and executed solved the issue for me.