Demi Lovato says God keeps "throwing crap" at her to test her.

The 19-year-old singer - who was admitted to rehab in November 2010 to receive three months treatment for an eating disorder and self-harming - has posted a series of posts on twitter complaining about the seemingly endless trials and tribulations in her life.

Despite the difficulties she has been experiencing, the former 'Sonny with a Chance' star insists her faith in God doesn't waver because she knows "he's gonna pull me through it all".

She tweeted: "Sometimes it seems like God just keeps throwing crap my way and I get SO angry with him ... But there's never a doubt in my mind He's gonna pull me through it all. I know you're there God. But umm ... Really dude? He never fails to show me He's by my side though. Even in the tough times. #Godstuff. (sic)"

Although she has been contemplating God and her faith, the 'Skyscraper' hitmaker claims he isn't very religious bur more of a spiritual person.

She added: "I'm not very religious but I'm VERY spiritual and I DO believe in God. I'm not perfect or preaching! Just tweeting... :)

"Just keep swimming. (sic)"