This is the first post describing the development of a new Blogging engine using React that I am building for fun. This first post describes the environment setup and add some more information on how to use these frameworks.
The code can be found here : https://github.com/non-o/nono-blog, and this post is mainly targeted to the v0.1.0 tag. so you can clone the repository and then checkout the v0.1.0 tag to follow. (or to get an inital setup for your project)
Continue reading React environment with Webpack, Enzyme, Mocha and Karma
Lately I wanted to test entity framework using input xml files and expected xml files. So I started an open source project CExtensions.Effort as I could find something that fitted my needs.
so if you would like to have this as your DbContext input :
and compare to this expected result to check that the name of Author changed and that Author with id 2 was deleted
Then this project might be interesting for you
At the time of writing the code works, but with some limitations and the documentation has to be written. But basically what this project provides is the ability to create a context from XML input files and compare it to XML expected output files. all that without your code hitting your database.(all in memory)
for more information check the project home page : CExtensions-Net
this project is based on some other opensource project like Effort and CompareNETObjects.
This post describes how to test angular services that makes use of promise (simple or with $http, $timeout…) with the jasmine testing framework. All the code is located here : angular-playground. I use karma to display the test result. So just karma start at the root.
for more info on async support check this:
Continue reading Async Test with jasmine and angularjs
Lately I had to choose a testing framework and wanted to be fast and to provide fast feedback (kind of Ncrunch for .net) I achieved that with jasmine and karma.
As an example to this post, I will describe the setup using angular-toolkit as a reference project. (while writing this post, I use tag 0.0.5 of angular-toolkit project)
In this post, I will describe how to set up jasmine, write a little spec and run these with karma, so you have direct feedback of your changes.
Continue reading Testing angularjs modules with jasmine and Karma