José Silva

Find me on:

Recent Posts

TDD: Factory generator with factory.ts and faker.js to ease your testing in TypeScript applications

Posted by José Silva on 10-Jun-2019 12:26:38

When writing unit testing it is always good practice to mock the database with test data to achieve the F.I.R.S.T principles of unit testing.

With only a few models in an application it is not too difficult to mock the necessary test data, but when your application grows it starts to become unmanageable. For example, can you imagine mocking data for an application with over 200 models?

Read More

Topics: software development, javascript, programming, computer science, web development, mock data, typescript, unit testing

Memory Allocation in JavaScript — Eager vs Lazy Allocation Approach

Posted by José Silva on 19-Apr-2018 13:19:53

Memory allocation is the process of reserving complete or partial space (physically or virtual) on the computer to execute an application. The management of memory on a program if not handled in the right way can make the application slow or even stop working, and one of the reasons for that to happen is known in computer science as Memory Leak.

Memory leak occurs when the application allocates spaces in memory and does not releases it after it is used, then the application ends up running out of memory and crashing.

Read More

Topics: software development, javascript, programming, computer science, web development

Free eBook:

The Use of Technology in Clinical Skills Assessment

An essential read for those introducing technology into clinical skills assessment. 

Click to Download eBook 

Technology can:

  • Reduce error rates
  • Decrease administration time
  • Increase quality standards

Subscribe to our monthly email

Recent Posts