Opened 15 months ago

Last modified 4 months ago

#29656 new defect

describe global initialization in our tinytest-based unit tests

Reported by: catalyst Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: developer-doc, s31-docs
Cc: nickm Actual Points:
Parent ID: Points: 1
Reviewer: Sponsor:

Description

I was trying to figure out how global state initialization happens in our unit tests. I eventually found that src/test/test_common.c is the location of the main() function for the tinytest-based test programs. We should document this better, probably in doc/HACKING/WritingTests.md.

Child Tickets

Change History (5)

comment:1 Changed 11 months ago by nickm

Points: 0.5

comment:2 Changed 11 months ago by gaba

Cc: nickm added
Keywords: network-team-roadmap-october added
Points: 0.51

comment:3 Changed 9 months ago by nickm

Keywords: s31-docs added

comment:4 Changed 4 months ago by gaba

Sponsor: Sponsor31-can

Sponsor closed. Remove from roadmap.

comment:5 Changed 4 months ago by gaba

Keywords: network-team-roadmap-october removed
Note: See TracTickets for help on using tickets.