Category: Test

  • InternalsVisibleTo usage

    I do not know if you know  InternalsVisibleToAttribute https://msdn.microsoft.com/en-us/library/system.runtime.compilerservices.internalsvisibletoattribute%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396  . I have used on a project https://github.com/ignatandrei/WorldBankAPi,that deals with World Bank API to get information Let’s take an example: Countries: http://api.worldbank.org/countries?format=json I have had a class CountriesRepository,that deals with transforming countries Json from WorldBank to Country classes. How can I test it WITHOUT relying on…

  • How to … test database code with BDD(NBehave)

    In this video,that is the continuation after How To … Test code from database with nunit   I will show how to transform a NUnit test into an BDD – NBehave test. As usual,you can download the code from here here  

  • How To … Test code from database with nunit

    In this video we will test the Business Layer for a shortening application. The Data Access Layer is made with Entity Framework . You can download files from here