Skip to content

Commit 537cbea

Browse files
committed
update test notes [build_translations]
1 parent 5e922a5 commit 537cbea

2 files changed

Lines changed: 24 additions & 6 deletions

File tree

‎en/development/dev_practices.txt‎

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,18 @@ Development practices
77
Making changes to MapServer
88
---------------------------
99

10-
Minor changes to MapServer, such as bug fixes, may be made by opening a GitHub pull request.
10+
- Minor changes to MapServer, such as bug fixes, may be made by opening a GitHub
11+
`pull request <https://github.com/MapServer/MapServer/pulls>`__.
1112

12-
Major changes should be discussed on the mapserver-dev listserv and may require the drafting
13-
of a RFC (request for comment) document.
13+
- Please always include a test in `/msautotest` as part of your pull request, by
14+
following the steps listed in :ref:`autotest`).
15+
16+
- Major changes should be discussed on the `mapserver-dev <https://lists.osgeo.org/mailman/listinfo/mapserver-dev>`__
17+
listserv and may require the drafting of a :ref:`RFC (request for comment) <rfcs>` document.
18+
19+
- Security changes must follow MapServer's `Security Policy <https://github.com/MapServer/MapServer/blob/main/SECURITY.md/>`__
20+
21+
.. seealso:: :ref:`Bug Submission Guidelines <bugs>`
1422

1523
Git usage
1624
---------

‎en/development/tests/autotest.txt‎

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
:Contact: warmerdam at pobox.com
99
:Author: Jeff McKenna
1010
:Contact: jmckenna at gatewaygeomatics.com
11-
:Last Updated: 2026-06-02
11+
:Last Updated: 2026-07-03
1212

1313
.. contents:: Table of Contents
1414
:depth: 2
@@ -25,7 +25,7 @@ Getting `msautotest`
2525
Skip this section if you've followed the :ref:`vagrant` steps.
2626

2727
`msautotest` is available from GitHub, and exists inside the *main*
28-
MapServer repository, in /MapServer/msautotest/. It can be fetched with
28+
MapServer repository, in `/MapServer/msautotest/`. It can be fetched with
2929
something like::
3030

3131
git clone https://github.com/MapServer/MapServer.git
@@ -52,7 +52,7 @@ already installed.
5252
msautotest also requires that the executables built with MapServer, notably
5353
:ref:`map2img`, :ref:`legend <legend_utility>`, :ref:`mapserv` and
5454
:ref:`scalebar <scalebar_utility>`, are available in the path. This can be
55-
accomplished by adding the MapServer build directory to my path.
55+
accomplished by adding the MapServer build directory to your path.
5656

5757
csh::
5858

@@ -88,6 +88,8 @@ each as its own subdirectory, such as:
8888

8989
::
9090

91+
api
92+
config
9193
gdal
9294
misc
9395
mspython
@@ -96,6 +98,14 @@ each as its own subdirectory, such as:
9698
renderers
9799
sld
98100
wxs
101+
102+
.. note::
103+
The PHP MapScript tests inside `/php` can be run through PHPUnit, by following the steps in
104+
its `README.md <https://github.com/MapServer/MapServer/blob/main/msautotest/php/README.md>`__
105+
106+
.. tip::
107+
If you add a new category (subdirectory), you can add that folder to the
108+
`testpaths` parameter in the `/msautotest/pytest.ini` file.
99109

100110
You can run all tests with just `pytest` from `msautotest`
101111
root directory. All standard options of pytest can be used to filter tests to

0 commit comments

Comments
 (0)