I’m happy to announce the immediate availability of the latest and greatest version of Objo Studio, version 26.8.1 ![]()
As always, all reported bug have been fixed (27).
This release brings 14 new features but the big one is unit testing.
Unit testing within Objo Studio
What is a unit test?
A unit test is a small, focused check that exercises one piece of your code in isolation and asserts the result you expect. Instead of launching your whole app and clicking around to see whether something works, you write a test that runs a method a hundred times over with known inputs and tells you the moment a change breaks it. Tests turn “I hope I didn’t break that” into “I know I didn’t”. Tests catch regressions in a feature you touched months ago, the instant they appear.
Writing tests in Objo
Objo has a built-in unit-testing workflow shared by Studio and the objo command-line tool. There is no separate framework to install, no configuration to wire up. A test is just an ordinary class that inherits TestCase, with public parameterless methods named after Test:
Class OrderTests Inherits TestCase
Public Sub TestEmptyOrderTotal()
Assert.Equal(0, New Order().Total)
End Sub
Public Async Sub TestAsyncRefresh()
Var ignored As Object = Await Task.Delay(10)
Assert.True(True)
End Sub
End Class
The shared Assert module gives you the usual testing toolbox (Equal, True, AlmostEqual, Contains, Throws) and reports failures with the expected and actual values, a compact difference, and the exact source location. SetUp and TearDown prepare and clean up a fresh instance before and after every test, so tests stay independent. Tests run synchronously or Async, each in a fresh VM.
Running tests is one click operation
Studio makes finding and running tests effortless. Choose Tests > Add Unit Test… to create your first test class; a Tests node appears under the project and a Tests panel groups everything by project, class, and method. From there you can run all tests, run a selection, debug a selection, stop a run, or rerun only the failures. Desktop tests can even run headlessly: they can construct designed windows, set control state, and exercise bindings without ever showing a real window.
Let the AI assistant write them
With an AI assistant configured (Settings > AI Assistant), you can generate tests just by asking, for example “create tests for Cart.ApplyDiscount.” Studio sends the assistant a focused view of the selected API and your existing conventions and validates the proposal on an isolated copy without executing anything.
Summary
I hope you enjoy this new release. Adding easy unit testing to Objo Studio really levels it up. This is a professional grade system that is free to use for everyone. I hope you find it helpful.
