Before you run the UnitTest, please config the environment variables in the app.json which is located under Settings directory. :: { "BotSharp.NLP": { "dataDir": "D:\\Projects\\BotSharp.NLP\\Data" } }