Pesquisar

Resumo
· Jul. 28

Nuevas publicaciones en la Comunidad de InterSystems, 21-27 julio

21-27 julioWeek at a GlanceInterSystems Developer Community
Artigo
· Jul. 28 1min de leitura

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
Discussão (1)1
Entre ou crie uma conta para continuar
Artigo
· Jul. 28 3min de leitura

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:

Discussão (0)1
Entre ou crie uma conta para continuar
Artigo
· Jul. 28 6min de leitura
Discussão (2)2
Entre ou crie uma conta para continuar
Anúncio
· Jul. 28

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
Discussão (6)2
Entre ou crie uma conta para continuar