David Pokluda's blog

Business application development, agile development, and other software engineering topics

Posts
  • David Pokluda's blog

    Moving blog to a new address

    • 1 Comments
    I am moving my blog to a new address so that I have a better control of the blog and the spam. The new blog is available at http://www.davidpokluda.com/blog and the RSS feed is at http://feeds2.feedburner.com/dpokluda . All the current content will...
  • David Pokluda's blog

    SysTest part VI.: Code coverage

    • 4 Comments
    In this post I want to describe code coverage module in SysTest framework. Let's have a simple calculator class (calculating area): public class SimpleCalc { public int square(int _a) { int square = 0; ; if (_a > 0) { square = _a *...
  • David Pokluda's blog

    I'm back

    • 2 Comments
    I'm very sorry for being quiet for such a long time. We had a coding milestone and I spent most of that time designing and implementing new importing functionality that we are going to use in the next release of Dynamics AX. I will soon finish the...
  • David Pokluda's blog

    SysTest part V.: Test execution (results, runners and listeners)

    • 2 Comments
    In the series of previous posts I've covered TestClass es and TestSuite s. You should already know how to create a TestClass and how to group your tests in TestSuite s. In this post I'll try to cover the test execution environment. Results and Runners...
  • David Pokluda's blog

    SysTest on Channel9

    • 5 Comments
    Michael Fruergaard Pontoppidan demonstrates how to use SysTest in this Channel9 video: Dynamics AX 4.0 - Unit testing
  • David Pokluda's blog

    SysTest part IV.: Test/Suite initialization and cleaning; Execution isolation

    • 2 Comments
    We already know how to create test suites . Today I would like to cover some additional reasons for creating test suites: initialization, cleaning and test execution isolation. Initialization and Clean up As long as our test class contains just...
  • David Pokluda's blog

    Outbound web service (AIF)

    • 36 Comments
    In this post I'll try to demonstrate how to use AIF outbound web service adapter. I'll begin with building a sample web service implementing AIF SendMessage "interface". We will validate the web service by building a test. For the end-to-end test we...
  • David Pokluda's blog

    SysTest part III.: Introduction to test suites

    • 5 Comments
    In the first part I mentioned the following code: static void RunMySimpleTests(Args _args) { SysTestSuite suite = new SysTestSuite(classstr(MySimpleTests)); SysTestResult result = new SysTestResult(); ; result.addListener(new SysTestListenerPrint...
  • David Pokluda's blog

    SysTest part II.: Exceptions

    • 3 Comments
    In this post I will try to describe exceptions handling using SysTest . Very often applications throw exceptions and we have to be able to handle these situations correctly in our UnitTest s. Let's say we have the following application class: public...
  • David Pokluda's blog

    SysTest part I.: Assertions and test classes

    • 9 Comments
    In the next series of posts I will demonstrate and explain some of the basic as well as some more advanced features of SysTest . Test classes Let's begin with a very simple test. To create a test, derive a class from SysTestCase class. This is all...
  • David Pokluda's blog

    SysTest quick start

    • 21 Comments
    Overview I am a big fan of TestDrivenDevelopment and I am trying to follow this approach for all my development. Unfortunately DynamicsAX didn't have any UnitTest framework and thus it was difficult to use TestDrivenDevelopment . It was clear that...
  • David Pokluda's blog

    Unit testing in DynamicsAX

    • 4 Comments
    Microsoft DynamicsAX 4.0 introduced a new development feature to MorphX -- UnitTesting . The framework is named SysTest and is very similar to all traditional UnitTesting frameworks. In a series a posts I will try to explain SysTest and I will show samples...
Page 1 of 1 (12 items)