Product & Tech Blog

search
expand_more
expand_more
Showing 108-112 of 112 results

Results for category: Software engineering close

Unit testing with streams in PHP

Blog post header

Using the memory/temporary stream provided by php:// stream wrapper you  can create a stream with read and write access directly to RAM or to a temporary file. This gives you the possibilty to write unit tests that does not rely on a specific file, resource or stream, but rather on

Speeding up SQLite insert operations

Blog post header

I’ve been working on an Android application recently which uses an SQLite database to store and search about 6000 rows of data, and the data is updated from a webservice periodically. It would seem like a fair assumption to think the retrieval of data from the webservice would be the

Mocking the file system using PHPUnit and vfsStream

Blog post header

This article is about how to mock the file system when writing unit tests, and it will be rather code-heavy. If you are not familiar with the concept of unit testing this article might not be the best place to start. There will be other articles regarding unit testing on

Continuous Integration at VG Nett

Blog post header

At VG Nett we use Continuous Integration (CI) for some of our projects. This article will tell you why we do it and how we do it. At the end you will hopefully want to take advantage of CI as well.