Encontrar

Article
· Jul 28, 2025 1m read

An example of partial code coverage by a unit test

The new version of InterSystems Testing Manager which I released last week brings @Timothy Leavitt's cool 
Test Coverage Tool to VS Code, and is my entry for the 2025 Developer Tools contest.

Here's a teaser screenshot showing how the unit tests of the IPM project don't yet cover a feature that apparently allows an IPM repository to override its sort order.

Notice how line 88 is decorated red as a warning to the developer.

A "battery indicator"-style decoration in VS Code's Explorer view shows amber because tests cover only 76% of the executable lines in the methods of this class. Hovering on the indicator shows more information, and the method coverage (8 out of 9) is also displayed as a second indicator in the optional Test Coverage Toolbar on the editor.

Thresholds can be configured in VS Code, as can the colors if red-amber-green are hard to distinguish.

Like what you see? If you're already using the InterSystems %UnitTest framework please try it for yourself. Feedback welcome, as are votes in the contest before voting closes on Sunday August 3rd at midnight Eastern Time.

1 Comment
Discussion (1)1
Log in or sign up to continue
Article
· Jul 28, 2025 3m read

Introduction to Python Dunder Methods

img

This will be a short article about Python dunder methods, also known as magic methods.

What are Dunder Methods?

Dunder methods are special methods in Python that start and end with double underscores (__). They allow you to define the behavior of your objects for built-in operations, such as addition, subtraction, string representation, and more.

Some common dunder methods include:

Discussion (0)1
Log in or sign up to continue
Article
· Jul 28, 2025 6m read
Discussion (2)2
Log in or sign up to continue
Announcement
· Jul 28, 2025

Global Masters - New Rewards Arrived

Hey Community! New rewards have arrived on Global Masters 🎁

With our July update, we’ve added some fresh new options for you to choose from! The rewards catalog is now packed with even more exciting ways to exchange your points for something truly useful, , and well-deserved If you’ve been saving up your points, now’s the perfect time to treat yourself!



➡️ Enter Global Masters to check out available prizes*.

🧩 Want to learn how to earn points faster? You can find tips and guidance here 


*Please note that prizes may vary by region due to differences in vendors and shipping availability. In some countries, delivery may be limited or unavailable. We appreciate your understanding and are doing our best to offer great options to everyone.

Not a Global Masters member yet? It's easy to join! Just sign in using your InterSystems SSO credentials. 
Learn more about Global Masters advocacy program here.

6 Comments
Discussion (6)2
Log in or sign up to continue
Announcement
· Jul 28, 2025

Time to vote in the InterSystems Developer Tools Contest 2025

Hi Community,

It's voting time! Cast your votes for the best applications in our InterSystems Developer Tools Contest:

🔥 VOTE FOR THE BEST APPS 🔥

How to vote? Details below.

Experts nomination:

An experienced jury from InterSystems will choose the best apps to nominate for the prizes in the Experts Nomination.

Community nomination:

All active members of the Developer Community with a “trusted” status in their profile are eligible to vote in the Community nomination. To check your status, please click on your profile picture at the top right, and you will see it under your picture. To become a trusted member, you need to participate in the Community at least once.

Blind vote!

The number of votes for each app will be hidden from everyone. We will publish the leaderboard in the comments section of this post daily. Experts may vote any time so it is possible that the places change dramatically at the last moment. The same applies to bonus points.

The order of projects on the contest page will be determined by the order in which applications were submitted to the competition, with the earliest submissions appearing higher on the list.

P.S. Don't forget to subscribe to this post (click on the bell icon) to be notified of new comments.

To take part in the voting, you need:

  1. Sign in to Open Exchange – DC credentials will work.
  2. Make any valid contribution to the Developer Community – answer or ask questions, write an article, contribute applications on Open Exchange – and you'll be able to vote. Check this post on the options to make helpful contributions to the Developer Community.

If you change your mind, cancel the choice and give your vote to another application!

Support the application you like!


Note: Contest participants are allowed to fix bugs and make improvements to their applications during the voting week, so be sure to subscribe to application releases!

4 Comments
Discussion (4)4
Log in or sign up to continue