Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
468 lines (239 loc) · 13.8 KB
/
Copy pathindex.html
File metadata and controls
468 lines (239 loc) · 13.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
<!DOCTYPE html>
<html lang="en-gb">
<head>
<meta name="generator" content="Hugo 0.109.0">
<link href="https://gmpg.org/xfn/11" rel="profile">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Enable responsiveness on mobile devices -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<meta name="author" content="Jacek Bilski">
<title>On Software Engineering</title>
<meta name="description" content="Jacek Bilski's thoughts about software engineering and how to improve it">
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="On Software Engineering"/>
<meta name="twitter:description" content="Jacek Bilski's thoughts about software engineering and how to improve it"/>
<meta name="twitter:site" content="@jacek_bilski"/>
<meta property="og:title" content="On Software Engineering" />
<meta property="og:description" content="Jacek Bilski's thoughts about software engineering and how to improve it" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://www.bilski.tech/" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css">
<link rel="stylesheet" href="/scss/hyde-hyde.302e105633e7b74ff627e4a63c9fc0dc7446d15c60a7a4a2e12da987fdd9de0e.css" integrity="sha256-MC4QVjPnt0/2J+SmPJ/A3HRG0Vxgp6Si4S2ph/3Z3g4=">
<link rel="stylesheet" href="/scss/print.2744dcbf8a0b2e74f8a50e4b34e5f441be7cf93cc7de27029121c6a09f9e77bc.css" integrity="sha256-J0Tcv4oLLnT4pQ5LNOX0Qb58+TzH3icCkSHGoJ+ed7w=" media="print">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- Icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="/favicon.png">
<link rel="alternate" type="application/rss+xml" href="https://www.bilski.tech/index.xml" title="On Software Engineering" />
</head>
<body class=" ">
<div class="sidebar">
<div class="container ">
<div class="sidebar-about">
<span class="site__title">
<a href="https://www.bilski.tech/">
On Software Engineering
</a>
</span>
<div class="author-image">
<img src="https://www.bilski.tech/img/jacek.jpg" alt="Author Image" class="img--circle img--headshot element--center">
</div>
<p class="site__description">
Jacek Bilski's thoughts about software engineering and how to improve it
</p>
</div>
<div class="collapsible-menu">
<input type="checkbox" id="menuToggle">
<label for="menuToggle">On Software Engineering</label>
<div class="menu-content">
<div>
<ul class="sidebar-nav">
<li>
<a href="/posts/random/">
<span>Random Posts</span>
</a>
</li>
<li>
<a href="/posts/webcalc/">
<span>WebCalc</span>
</a>
</li>
<li>
<a href="/posts/testing_primer/">
<span>Testing Primer</span>
</a>
</li>
<li>
<a href="/videos/">
<span>Videos</span>
</a>
</li>
<li>
<a href="/about/">
<span>About Me</span>
</a>
</li>
</ul>
</div>
<section class="social">
<a href="https://twitter.com/jacek_bilski" rel="me"><i class="fab fa-twitter fa-lg" aria-hidden="true"></i></a>
<a href="https://github.com/jacekbilski" rel="me"><i class="fab fa-github fa-lg" aria-hidden="true"></i></a>
<a href="https://linkedin.com/in/jacek-bilski" rel="me"><i class="fab fa-linkedin fa-lg" aria-hidden="true"></i></a>
<a href="https://www.xing.com/profile/Jacek_Bilski3" rel="me"><i class="fab fa-xing fa-lg" aria-hidden="true"></i></a>
</section>
</div>
</div>
<div class="builtwith">
Built with <a href="https://gohugo.io">Hugo</a> ❤️ <a href="https://github.com/htr3n/hyde-hyde">hyde-hyde</a>.
</div>
</div>
</div>
<div class="content container">
<div class="post-list">
<div class="post-list__item">
<span class="item__title--big">
<a href="/posts/random/behaviour-over-structure/" >Behaviour over structure</a>
</span>
<span class="item__date">
Jan 16, 2023
</span>
<span >
We, developers, often forget why we even exist. We quite often don't remember that our purpose is not to write software, but to solve problems. Those come in different forms, but can be generalized as "we need to start doing this", "we need to stop doing this" or "we need to do this differently". Those "do" and "doing" are the key, whatever "this" is. It's the behaviour our software exhibits that is most important, almost everything else is secondary.
</span>
... <a class="read-more-symbol" href="/posts/random/behaviour-over-structure/">➦</a>
</div>
<div class="post-list__item">
<span class="item__title--big">
<a href="/posts/testing_primer/tests-organization-and-naming/" >Tests organization and naming</a>
</span>
<span class="item__date">
Jul 22, 2021
</span>
<span >
As our system grows, so will our test suites. For our production code, we have learned techniques to keep it maintainable. For example, we try to structure our logic into sub-aspects, put them in specific locations and give the units meaningful names. We want to achieve the same for our tests. One of the main goals is that a developer - or generally speaking, the person who has to maintain the test - knows where to find which test. We also want to understand as quickly as possible what the test is for and what might be the reason for a failing test.
</span>
... <a class="read-more-symbol" href="/posts/testing_primer/tests-organization-and-naming/">➦</a>
</div>
<div class="post-list__item">
<span class="item__title--big">
<a href="/posts/random/spring-less-testing/" >Spring-less testing</a>
</span>
<span class="item__date">
Jul 20, 2021
</span>
<span >
Spring is a great project, it helps a lot with common, usually mundane, tasks. But it's not always unicorns and rainbows. Too much Spring in tests can cause a few issues like long execution time and fragility. Here, I'm showing how to avoid such pitfalls.
</span>
... <a class="read-more-symbol" href="/posts/random/spring-less-testing/">➦</a>
</div>
<div class="post-list__item">
<span class="item__title--big">
<a href="/posts/testing_primer/test-strategy/" >Test Strategy</a>
</span>
<span class="item__date">
Jul 5, 2021
</span>
<span >
In our previous posts, we focused on why and how we write tests. In most of our projects, there will be many of those tests. In the last post about tests granularity, we additionally stated that there usually will be different kinds of tests, on different levels of granularity. That leads to our next topic: which kinds of tests do we need and what is the ideal mix of them?
</span>
... <a class="read-more-symbol" href="/posts/testing_primer/test-strategy/">➦</a>
</div>
<div class="post-list__item">
<span class="item__title--big">
<a href="/posts/random/familiarity-friend-or-foe-part-2/" >Familiarity - friend or foe (part 2)</a>
</span>
<span class="item__date">
Apr 26, 2021
</span>
<span >
I continue to see some negative sides to familiarity, this time how it might prevent us from finding better, but not obvious solutions
</span>
... <a class="read-more-symbol" href="/posts/random/familiarity-friend-or-foe-part-2/">➦</a>
</div>
<div class="post-list__item">
<span class="item__title--big">
<a href="/posts/testing_primer/tests-granularity/" >Tests Granularity</a>
</span>
<span class="item__date">
Oct 22, 2020
</span>
<span >
In two previous posts we discussed the benefits of automated tests and the properties of a good test. So far we were trying to avoid differentiating the tests in any way. This time we want to address one way how tests can be classified: tests granularity.
</span>
... <a class="read-more-symbol" href="/posts/testing_primer/tests-granularity/">➦</a>
</div>
<div class="post-list__item">
<span class="item__title--big">
<a href="/posts/testing_primer/anatomy-of-a-good-test/" >Anatomy of a Good Test</a>
</span>
<span class="item__date">
Sep 23, 2020
</span>
<span >
In our last post, we focused on why we should write tests and what value they provide. This time we will go far more technical and take a look at a single test. We will show what makes a test a good one and describe desired and unwanted properties. Interestingly enough, all those properties hold, no matter how isolated or integrated the test is. This already gives us a hint that all tests are alike, we should remember that. Unfortunately, as the topic is very broad, we will have to skip some aspects that play a role when we’re talking about test suites. We will get back to them in one of our next posts.
</span>
... <a class="read-more-symbol" href="/posts/testing_primer/anatomy-of-a-good-test/">➦</a>
</div>
<div class="post-list__item">
<span class="item__title--big">
<a href="/posts/testing_primer/why-you-should-write-automated-tests/" >Why You Should Write Automated Tests</a>
</span>
<span class="item__date">
Aug 27, 2020
</span>
<span >
This blog post gives an overview of the most common benefits gained by writing automated tests. It starts in a place where most of the projects we’ve seen so far are: tests are written as a last step of the development process. Then it shows additional benefits that could be gained if we all gave the tests a bit more focus and care.
</span>
... <a class="read-more-symbol" href="/posts/testing_primer/why-you-should-write-automated-tests/">➦</a>
</div>
<div class="post-list__item">
<span class="item__title--big">
<a href="/posts/webcalc/iteration-9-custom-functions/" >Iteration 9 - custom functions</a>
</span>
<span class="item__date">
Aug 24, 2020
</span>
<span >
In WebCalc's ninth iteration I'm enabling users to define their own functions
</span>
... <a class="read-more-symbol" href="/posts/webcalc/iteration-9-custom-functions/">➦</a>
</div>
<div class="post-list__item">
<span class="item__title--big">
<a href="/posts/random/familiarity-friend-or-foe/" >Familiarity - friend or foe</a>
</span>
<span class="item__date">
Oct 8, 2019
</span>
<span >
Familiarity has two sides. On one, it is quite beneficial, you know the ways, the tools, the pitfalls and it all enables you to work fast. But at the same time, it can make you blind to mistakes you're doing or violations of processes or good practices.
</span>
... <a class="read-more-symbol" href="/posts/random/familiarity-friend-or-foe/">➦</a>
</div>
</div>
<ul class="pagination">
<li class="page-item">
<a href="/" class="page-link" aria-label="First"><span aria-hidden="true">««</span></a>
</li>
<li class="page-item disabled">
<a href="" class="page-link" aria-label="Previous"><span aria-hidden="true">«</span></a>
</li>
<li class="page-item active"><a class="page-link" href="/">1</a></li>
<li class="page-item"><a class="page-link" href="/page/2/">2</a></li>
<li class="page-item"><a class="page-link" href="/page/3/">3</a></li>
<li class="page-item">
<a href="/page/2/" class="page-link" aria-label="Next"><span aria-hidden="true">»</span></a>
</li>
<li class="page-item">
<a href="/page/3/" class="page-link" aria-label="Last"><span aria-hidden="true">»»</span></a>
</li>
</ul>
</div>
<script defer src="https://use.fontawesome.com/releases/v5.12.1/js/all.js" integrity="sha384-ZbbbT1gw3joYkKRqh0kWyRp32UAvdqkpbLedQJSlnI8iLQcFVxaGyrOgOJiDQTTR" crossorigin="anonymous"></script>
</body>
</html>