Skip to content

Releases: nokia/ntt

v0.9.5

16 Nov 15:23
8eb371b
Compare
Choose a tag to compare

This release improves the support for newly saved files (#298)

v0.9.4

15 Nov 19:09
3591797
Compare
Choose a tag to compare

This release fixes a endless loop for Windows clients (#282).

v0.9.3

25 Oct 15:10
63fce62
Compare
Choose a tag to compare

Bugfixes

  • Fix: dotenv ignores environment variables (#271)
  • correcting test for filesystem root (#274)
  • implement correction function for malformed URI (#275)

What's Changed

Full Changelog: v0.9.2...v0.9.3

v0.9.2

07 Sep 13:12
ce93507
Compare
Choose a tag to compare

Changelog

ce93507 Continue list command despite errors (#268)
5f7c61f Remove use of io/fs package (#267)
02c60f7 Merge pull request #266 from nokia/improve-cmd-exec-logging
2e15c59 remove old log directories before re-running the same test
55c6ff3 improve execution logging
97d7182 correcting path to log directory
adb041e split ntt run into ntt build + ntt run
700e835 Use K3CFLAGS instead of custom K3CFLAGS_EXT (#265)
b4dc311 Fix typo, add more logging, ... (#264)
76497b8 Always remove ttcn3_suites.json (#263)
534b870 Fix ntt.status command (#262)
e1ea847 Refactor ntt.test (#261)
4d05cdf Use language server binary as execution fallback (#260)
e2662a4 Extract fs helpers (#259)
0703a15 Add unusable printer (#258)
9f3cdcb Add Horrifying Printer (#257)

v0.9.1

09 Aug 04:49
171bc8b
Compare
Choose a tag to compare

This update adds some additional directories for test suite discovery (#256). For more information kindly check description for the v0.9 major release.

v0.9.0

08 Aug 19:34
ad44bb8
Compare
Choose a tag to compare

This release is about bug fixing and refining features. Many thanks to all of you, for finding bugs and giving us valuable feedback.

TTCN-3 Test Suite Discovery

This release introduces some major improvements for IDE support. Namely, automatic TTCN-3 test suite discovery: When a TTCN-3 source file is opened, ntt will scan common locations for known test suite layouts and will configure the language server automatically, so you don't have to.

Debugging

Debug output of ntt has been improved. Environment variable NTT_DEBUG now overwrites VSCode settings and environment variable NTT_DEBUG_FILE can be used to redirect debug output into a file of choice.

Incompatible Changes

The custom implementation of environment files ntt.env and k3.env has been replaced with a common dotenv implementation. As a consequence environment files are no longer TOML formatted, but use the dotenv typical format and undeclared variables will be expanded with an empty string.

Further, ntt.env is evaluated before k3.env, and the NTT_ prefix will always take precedence over K3_ prefix.

5G Test Execution Trial (Nokia 5G internal)

The experimental CodeLens feature for executing TTCN-3 tests from inside your IDE has been refined to support the test development trial at Nokia.

Bugfixes

Changelog

ad44bb8 Enable TTCN-3 test suite discovery for lanugage server (#255)
acdb490 Add known naming schemes as fallback for discovery (#254)
86bdf29 Convert env methods to functions (#253)
4b896c7 Merge manifest (#252)
f30fe83 Move some manifest code to project package (#239)
b606575 Add convenience function for reading and writing files (#251)
2f63a1d Add new environment implementation (#250)
19b54e0 Add module to printer (#249)
b5b6142 Add --ttcn3 parameter to ntt dump command (#248)
364aa28 CMake: Remove variable, add quoting (#247)
5682da8 Split env package (#246)
802a345 Disable test suite discovery in LSP (#244)
b45b09a Fix NTT_DEBUG_FILE issue (#245)
fae1dbd Merge pull request #242 from nokia/fix-disable-colorised-output
5ba37a9 Add missing vendors (#243)
b21117a move env setting to the ntt run command
afbdc6d Add Parse function for parsing env files (#240)
c6335dc Add initial project implementation (#238)
58f4637 Add env.LookupEnv (#237)
1a5d816 Add support for ttcnpp extension (#236)
9d23378 Add Files method (required by reports) (#235)
41a9954 Move tests (#234)
7bbd3f4 Let language server ignore loglevel (#233)
e34aba4 Remove unused code (#232)
f616d49 Add project functions FindAllFiles and Fingerprint (#231)
1931a9d Refactor project.Discover (#230)
9cdcf15 Fix unknown filetype issue (#229)
10f9561 Improve NTT_DEBUG (#228)
12c69d9 Add env package (#227)
e2f3b06 Add fs utils (#226)
4c7e82e Add cache support for fs package (#225)
c8041e5 Fix root_dir (#224)
e0c7154 Improve dump command (#222)
d3023af Add printer tests (#221)
7d3e97c Add boilerplate for pretty printer (#220)
595eef5 Add discovery for build directories (#219)
bb66459 Add various heuristics for project discovery (#218)
b9685d6 Fix url issue (#217)
f795e58 Merge pull request #216 from 5nord/add-project-interface
ee079d9 Simplify FindModule
919b5c1 Extract Files and ContainsFile from internal/ntt
f9fa049 Publish project package
bedff03 Make Root a string
55df91a Make Sources a string slice
43572c5 Make Imports a string slice
164d2ff Add Project interface
14ca64a Rename suites package to project
27fb3e8 Merge pull request #215 from nokia/disable-colorised-compiler-output
2e4f044 disable colorised compiler output
8e176a2 Add support for ttcn3_suites.json (#214)
527080d Merge pull request #213 from nokia/invoke-report-only-if-build-succeeds
268c640 invoke report only if build succeeds
af40774 Merge pull request #211 from 5nord/various-fixes
3a4ee49 Fix: Files cannot be read, if specified by URL
b204f62 Fix goto-definition panic, when module was not found
0c4a4d6 Add some logging
f341c67 Merge pull request #209 from nokia/setup-proper-environment-for-test-exec
2bbd469 remove superfluous logs
c1d0ae8 removed NTT_DEBUG lookup from the process env
5199840 simplified searching for ntt.env/k3.env
69c5bdb removed copy/paste code. provide NTT_DEBUG from the right suite
1e09f35 remove log output
3feebd8 calling 'ntt report' after execution. List generated log files for Ctrl + Click access
020e1a6 Merge remote-tracking branch 'upstream/master' into setup-proper-environment-for-test-exec
76eacd2 Merge pull request #210 from 5nord/disable-colors
260243f Add environment variable NTT_COLORS for disabling colored output
4db8fa7 listing of EV NTT_PARAMETERS_DIR inside the show command
b7140a1 before evaluating package.yml look for NTT_PARAMETERS_DIR
aedbba3 advertise NTT_PARAMETERS_DIR EV
a22a789 check if NTT_PARAMETERS_FILE is an absolute path.
fb1efb0 correcting description text
fcd906c enable generator to create initialisation for parameters_dir
0cdd2a4 FindK3EnvInCurrPath: search for ntt.env too
6812ad6 adapting fields to changed param struct definition
57144e7 Update internal/lsp/commands.go
a7804c6 Update internal/lsp/commands.go
7425325 Update internal/fs/utils.go
6dd3351 set current working directory to root path + ntt.test
fd2f1f0 calling ntt run with path to package.yml instead of supplying this by NTT_CACHE
15fbe94 fixing path to parameters file
103f265 add parameters_dir to manifest file
2698fd4 create and use new working dir
91715d6 choose right suite, build proper NTT_CACHE
a371611 choose interface kind for Port types inside completion list

v0.8.0

06 Jul 13:16
84874ce
Compare
Choose a tag to compare

Document Symbols

This release adds support for document symbols. Now you see all TTCN-3 module definitions in the outline view (#208):

Screenshot from 2021-07-06 15-13-08

Changelog

  • Introduce Sessions to ntt Report (#206)

v0.7.0

20 May 11:30
ddde5a1
Compare
Choose a tag to compare

Advanced IDE Support

This release is all about advanced IDE support. It introduces many improvements and bugfixes, but also exciting new features. Such as:

Intelligent code completion

Intelligent code completion makes your life easier by providing context aware code completion. This release introduces initial code completion for modules, imports, module definitions and predefined types.

Find All References

You can use the Find All References command to find where particular code elements are referenced throughout your test suite. This provides you a quick overview and valuable insights into big codebases.

CodeLens (experimental)

CodeLens is a popular feature in Visual Studio Code. It intersperses useful commands in your source code. This initial release introduces the code infrastructure for executing single testcases from within your IDE.

Go to Definition

Go to Definition has been given a cTags fallback and works for enumerations, ports, component variables, as well as various fields.

Improved Test Suite Detection

Advanced analysis features, like IntelliSense, need to know where to find TTCN-3 modules. Yet, there is no standard way of telling the language server where to look for.
This release improves test suite detection and makes features like go to defintion work like magic.

The k3 Libraries

k3 is the closed source predecessor of ntt in Nokia. In this release we provide a new Go packages for harmonizing k3 and ntt matters:

  • k3: Locating k3 toolsets, adapters and codecs.
  • k3/log: Parsing k3 runtime log files.
  • k3/t3xf: Parsing k3 runtime bytecode.

Changelog

  • Bufgix: Add missing file names when printing tags in verbose mode (#188)
  • Bugfix: Remove superfluous newline from test run ID
  • Bugfix: Add missing comma in ntt-report JSON template
  • Bugfix: TTCN-3 language server didn't automatically recognize ttcn3 files in the opened folder (#171)
  • Improve documentation
  • Improve parser error handling for incorrect input
  • Update minimal Go version from 1.12 to 1.13 (#185)
  • ntt-report: Make unstable test a pass in Junit reports (#183)
  • ntt-list: Fix incorrect description
  • ntt-show: maximize output in error case

v0.6.3

15 Mar 12:41
Compare
Choose a tag to compare

New features

The ntt report command

The ntt report command shows a summary of the latest test run. The summary includes
information such as a list of tests which did not pass, average run times, CPU load, etc.
It also supports custom mustache templates, JUnit and JSON output.

ntt-report

Microsoft Windows Installer

This is the first release including a installer package for a convenient installation for our Windows users.

Changelog

00ad012 Add helper command locate-file (#174)
e09c79b Extend CMake default target (#170)
bfadfe4 Add error handling for k3-sh-setup (#169)
05adb51 Fix OSSINFO path for K3 tools

v0.6.2

22 Feb 09:16
ad61fce
Compare
Choose a tag to compare

Changelog

ad61fce Add support for Titan macros (#168)
9cae5bf Sort environment
be6d601 Add k3 specific variables to k3-sh-setup (#167)