Skip to content

Commit dbc1939

Browse files
committed
docs(blog): introducing Numeric
1 parent ed1c9be commit dbc1939

File tree

2 files changed

+75
-0
lines changed

2 files changed

+75
-0
lines changed
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
---
2+
slug: introducing-numeric
3+
title: Introducing Numeric
4+
authors: [jan-molak]
5+
tags:
6+
- core
7+
- web
8+
- rest
9+
- open-source
10+
---
11+
12+
Love numbers? You'll love Serenity/JS 3.29! πŸŽ‰
13+
14+
We’re excited to share the latest release of Serenity/JS, which is packed with new powerful features for handling numeric data in your automated tests!
15+
16+
17+
18+
## New to Serenity/JS?
19+
20+
Serenity/JS web testing tutorial was called "the best guide if you want to take your automation skills to the next level." ❀️
21+
22+
If you're new to Serenity/JS or web automation in general, start with ["Your first web scenario"](/handbook/web-testing/your-first-web-scenario/).
23+
24+
## New in Serenity/JS 3.29
25+
26+
### Built-in support for arithmetic operations
27+
28+
Part of the [Serenity/JS Core module](/api/core/), the new [`Numeric`](/api/core/class/Numeric/) class offers built-in support for performing arithmetic operations
29+
on both synchronous and asynchronous data types directly within your Serenity/JS test scenarios.
30+
31+
In addition, this new class offers methods to help you extract numeric data from REST API responses and web interfaces
32+
and convert it to a desired numeric data type without any external libraries or complex workarounds.
33+
34+
This enhancement makes your tests more readable, reduces the risk of calculation errors, and ensures data-driven scenarios are both easy to implement and maintain.
35+
With `Numeric`, your test logic is cleaner, making Serenity/JS even more developer-friendly.
36+
37+
Learn about [`Numeric`](/api/core/class/Numeric/).
38+
39+
40+
### More Serenity/JS examples in your IDE!
41+
42+
We continue our effort to bring the thousands of examples available in the [Serenity/JS API documentation](/api/) close to you and your team.
43+
As part of that, the new [`Numeric`](/api/core/class/Numeric/) class ships with **15 new examples**, demonstrating how to extract numeric data from user interfaces and data objects.
44+
You'll also learn how to use the new features with [Serenity/JS Page Element Query Language](/handbook/web-testing/page-element-query-language/) to make extracting the right UI element even easier!
45+
46+
Check out the Serenity/JS API docs at https://serenity-js.org/api/
47+
48+
Enjoy Serenity!
49+
50+
![Numeric API Documentation in Your IDE](./numeric-api-docs.png)
51+
52+
53+
## Your feedback matters!
54+
55+
I hope this latest release of Serenity/JS will make it even easier for you and your team to create high-quality test automation.
56+
57+
Let me know what you think of the new features in the [comments below](/blog/better-api-documentation/#giscus-comments) πŸ‘‡πŸ‘‡πŸ‘‡
58+
59+
### πŸ“£ Stay up to date
60+
61+
New features, tutorials, and demos are coming soon!
62+
Follow [Serenity/JS on LinkedIn](https://www.linkedin.com/company/serenity-js),
63+
subscribe to [Serenity/JS channel on YouTube](https://www.youtube.com/@serenity-js) and join the [Serenity/JS Community Chat](https://matrix.to/#/#serenity-js:gitter.im) to stay up to date!
64+
Please also make sure to star ⭐️ [Serenity/JS on GitHub](https://github.com/serenity-js/serenity-js) to help others discover the framework!
65+
66+
[![Follow Serenity/JS on LinkedIn](https://img.shields.io/badge/Follow-Serenity%2FJS%20-0077B5?logo=linkedin)](https://www.linkedin.com/company/serenity-js)
67+
[![Watch Serenity/JS on YouTube](https://img.shields.io/badge/Watch-@serenity--js-E62117?logo=youtube)](https://www.youtube.com/@serenity-js)
68+
[![Join Serenity/JS Community Chat](https://img.shields.io/badge/Chat-Serenity%2FJS%20Community-FBD30B?logo=matrix)](https://matrix.to/#/#serenity-js:gitter.im)
69+
[![GitHub stars](https://img.shields.io/github/stars/serenity-js/serenity-js?label=Serenity%2FJS&logo=github&style=badge)](https://github.com/serenity-js/serenity-js)
70+
71+
### πŸ’› Support Serenity/JS
72+
73+
If you appreciate all the effort that goes into making sophisticated tools easy to work with, please support our work and become a Serenity/JS GitHub Sponsor today!
74+
75+
[![GitHub Sponsors](https://img.shields.io/badge/Support%20@serenity%2FJS-703EC8?style=for-the-badge&logo=github&logoColor=white)](https://github.com/sponsors/serenity-js)
491 KB
Loading

0 commit comments

Comments
Β (0)