Opened 3 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
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor: Sponsor31-can

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 (0)

Note: See TracTickets for help on using tickets.