<feed xmlns='http://www.w3.org/2005/Atom'>
<title>unit.git/test/unit/applications/lang/go.py, branch gzip-v37</title>
<subtitle>Universal Web Application Server</subtitle>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/'/>
<entry>
<title>Tests: get rid of classes in test files.</title>
<updated>2023-06-14T17:20:09+00:00</updated>
<author>
<name>Andrei Zeliankou</name>
<email>zelenkov@nginx.com</email>
</author>
<published>2023-06-14T17:20:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=c183bd8749a19477390f8cb77efe5f6d223f0905'/>
<id>c183bd8749a19477390f8cb77efe5f6d223f0905</id>
<content type='text'>
Class usage came from the unittest framework and it was always redundant
after migration to the pytest.  This commit removes classes from files
containing tests to make them more readable and understandable.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Class usage came from the unittest framework and it was always redundant
after migration to the pytest.  This commit removes classes from files
containing tests to make them more readable and understandable.
</pre>
</div>
</content>
</entry>
<entry>
<title>Tests: switched to using f-strings.</title>
<updated>2023-02-21T17:21:29+00:00</updated>
<author>
<name>Andrei Zeliankou</name>
<email>zelenkov@nginx.com</email>
</author>
<published>2023-02-21T17:21:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=7934dcabbc3c2b585e8d3f8fcee7020ba26f1687'/>
<id>7934dcabbc3c2b585e8d3f8fcee7020ba26f1687</id>
<content type='text'>
Previously, it was necessary to support older versions of Python for
compatibility.  F-strings were released in Python 3.6.  Python 3.5 was
marked as unsupported by the end of 2020, so now it's possible to start
using f-strings safely for better readability and performance.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, it was necessary to support older versions of Python for
compatibility.  F-strings were released in Python 3.6.  Python 3.5 was
marked as unsupported by the end of 2020, so now it's possible to start
using f-strings safely for better readability and performance.
</pre>
</div>
</content>
</entry>
<entry>
<title>Tests: pretty output.</title>
<updated>2022-12-12T16:24:54+00:00</updated>
<author>
<name>Andrei Zeliankou</name>
<email>zelenkov@nginx.com</email>
</author>
<published>2022-12-12T16:24:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=648e91a623d3822e8ab4780b452da211ea3ba257'/>
<id>648e91a623d3822e8ab4780b452da211ea3ba257</id>
<content type='text'>
Hide expected alerts by default.
Silence succesfull "go build" information.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Hide expected alerts by default.
Silence succesfull "go build" information.
</pre>
</div>
</content>
</entry>
<entry>
<title>Tests: minor improvements.</title>
<updated>2022-06-30T13:40:17+00:00</updated>
<author>
<name>Andrei Zeliankou</name>
<email>zelenkov@nginx.com</email>
</author>
<published>2022-06-30T13:40:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=a3699557a3e4605788bb02a34de8a7979ec96629'/>
<id>a3699557a3e4605788bb02a34de8a7979ec96629</id>
<content type='text'>
Added "go" availability check before trying to build an application.

update_action() method used were possible and fixed bug with
the relative path determination in test_static_chroot.py.

Templates optimization and style fixes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added "go" availability check before trying to build an application.

update_action() method used were possible and fixed bug with
the relative path determination in test_static_chroot.py.

Templates optimization and style fixes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Tests: style.</title>
<updated>2022-04-11T20:05:14+00:00</updated>
<author>
<name>Andrei Zeliankou</name>
<email>zelenkov@nginx.com</email>
</author>
<published>2022-04-11T20:05:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=0f725346603f4de4473d12da502104b188ac02a4'/>
<id>0f725346603f4de4473d12da502104b188ac02a4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Tests: using modules in Go.</title>
<updated>2022-01-10T13:07:31+00:00</updated>
<author>
<name>Max Romanov</name>
<email>max.romanov@nginx.com</email>
</author>
<published>2022-01-10T13:07:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=1297e8a16a2fb0ccc195c0dd14b678bb2d7fc9fc'/>
<id>1297e8a16a2fb0ccc195c0dd14b678bb2d7fc9fc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Tests: refactored working with processes.</title>
<updated>2021-11-15T12:13:54+00:00</updated>
<author>
<name>Andrei Zeliankou</name>
<email>zelenkov@nginx.com</email>
</author>
<published>2021-11-15T12:13:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=ae035852385032cc6c502c0e560fc682cacdbf34'/>
<id>ae035852385032cc6c502c0e560fc682cacdbf34</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Go: fixing tests for Go 1.16.</title>
<updated>2021-05-25T15:00:59+00:00</updated>
<author>
<name>Max Romanov</name>
<email>max.romanov@nginx.com</email>
</author>
<published>2021-05-25T15:00:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=155e22da05f01eb51b9dc082e9c8e8bff9b5ec8d'/>
<id>155e22da05f01eb51b9dc082e9c8e8bff9b5ec8d</id>
<content type='text'>
In Go 1.16, the module-aware mode is enabled by default; to fall back to
previous behavior, the GO111MODULE environment variable should be set to
'auto'.

Details: https://golang.org/doc/go1.16
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In Go 1.16, the module-aware mode is enabled by default; to fall back to
previous behavior, the GO111MODULE environment variable should be set to
'auto'.

Details: https://golang.org/doc/go1.16
</pre>
</div>
</content>
</entry>
<entry>
<title>Tests: introduced a separate cache directory for Go builds.</title>
<updated>2020-12-21T11:00:46+00:00</updated>
<author>
<name>Tiago Natel de Moura</name>
<email>t.nateldemoura@f5.com</email>
</author>
<published>2020-12-21T11:00:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=03436d2ec2ab485b4f3196690e9a267bf0d42d30'/>
<id>03436d2ec2ab485b4f3196690e9a267bf0d42d30</id>
<content type='text'>
The Go compiler can't detect changes to C header files when
compiling CGO applications, and then this leads to Go test
samples being linked with wrong libunit.

This patch creates a new cache directory reused throughout
the test suite.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The Go compiler can't detect changes to C header files when
compiling CGO applications, and then this leads to Go test
samples being linked with wrong libunit.

This patch creates a new cache directory reused throughout
the test suite.
</pre>
</div>
</content>
</entry>
<entry>
<title>Tests: options moved to the separate class.</title>
<updated>2020-12-06T16:01:59+00:00</updated>
<author>
<name>Andrei Zeliankou</name>
<email>zelenkov@nginx.com</email>
</author>
<published>2020-12-06T16:01:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=07789a23e9c513dba87b020fae2989a57955e8a6'/>
<id>07789a23e9c513dba87b020fae2989a57955e8a6</id>
<content type='text'>
This change is necessary to separate the logic
and prevent possible circular dependency.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change is necessary to separate the logic
and prevent possible circular dependency.
</pre>
</div>
</content>
</entry>
</feed>
