@davidfowl I like spec first because it doesn’t require programming skills, and Markdown allows us to add additional documentation about the API. It gives better specs, and everyone in the team can contribute.
@davidfowl@robertmclaws I’ve done a custom interface IUserContext and then implementations such as WebUserContext that can use HttpContext and SystemContext for queues etc. Easy enough and works well in unit testing too.